Let's improve translations in GingerDX! - XPERIA X8 General

Hello.
My idea right now is to improve translations of GingerDX's CMParts, which contains names for several unique functions, written by doixanh. Many people complained about idea of translation, and wanted to go back to english text.
But my main idea is to update our translations! We could do this together, because XDA is a beautiful community, speaking in many languages. All you have to do is to translate some missing strings.
Translate this and post it:
Code:
<!-- dx -->
<!-- GingerDX settings -->
<string name="gingerdx_settings_title">GingerDX settings</string>
<string name="gingerdx_settings_summary">Change GingerDX-specific options</string>
<string name="pref_led_disabled_group_title">LED disabled in night...</string>
<string name="pref_led_disabled_title">...activated</string>
<string name="pref_led_disabled_from_title">...from</string>
<string name="pref_led_disabled_to_title">...to</string>
<string name="flipping_down_title">Flipping down...</string>
<string name="pref_flipping_down_mutes_ringer_title">...mutes ringer</string>
<string name="pref_flipping_down_snoozes_alarm_title">...snoozes alarm</string>
<string name="pref_flipping_down_snoozes_alarm_summary">No responsibility for being fired!</string>
<string name="call_features_title">Call features</string>
<string name="pref_call_me_louder_title">Call Me Louder</string>
<string name="pref_call_me_louder_summary">Louder ringer when phone is inside bags</string>
<string name="pref_back_button_ends_call_title">Back button ends call</string>
<string name="pref_ringer_loop_title">Loop ringtone</string>
<string name="pref_ringer_loop_summary">Again and again and...</string>
<string name="pref_smart_dialer_title">Smart dialer</string>
<string name="pref_smart_dialer_summary">Provides suggestions when dialing</string>
<string name="other_features_title">Other features</string>
<string name="pref_hide_avatar_message_title">Hide avatar in SMS content</string>
<string name="pref_quick_copy_paste_title">Quick copy / Quick paste</string>
<string name="pref_transparent_status_bar_title">Status bar transparency</string>
<string name="pref_transparent_status_bar_summary">Reboot to apply changes</string>
<string name="pref_sense3_lockscreen_title">Sense 3 Lockscreen</string>
<string name="pref_sense3_lockscreen_summary">Only basic functionality</string>
<string name="pref_recent_apps_status_bar_title">Recent apps on status bar</string>
<string name="pref_recent_apps_status_bar_summary">Display at most 16 apps</string>
<string name="pref_gingerdx_about_title">About</string>
<string name="pref_gingerdx_about_default">GingerDX built v000 by [email protected]</string>
<string name="pref_custom_carrier_title">Custom carrier text</string>
<string name="pref_custom_carrier_summary">Appears on lockscreen/statusbar</string>
<string name="carrier_label">Carrier text (empty to disable)</string>
<string name="custom_carrier">Carrier text</string>
<string name="ok_button">Done</string>
<string name="cancel_button">Cancel</string>
The code will be updated when we'll add some new functions.
As a member of Team GingerDX I encourage you to send corrected translations. They will be certainly included in next releases.
I'm counting on you!
values.zip contains English values
values_lng.7z contains all other languages.
If you want to create translation for language which is not included - go on!
Just extract translate, and attach the file.

I'm making a translation for Latvians, but it will take long time.

Spanish translator here!

Let's make it for all roms...
Sent from my E15i using XDA Premium App

I don't use other ROMs, but we could try. We need to get permissions from devs, apk's and some testers

Yea,it will be cool
Sent from my E15i using XDA Premium App

velnens123 said:
I'm making a translation for Latvians, but it will take long time.
Click to expand...
Click to collapse
It's only few minutes, you hve to translate few lines only for gods sake

Dare-Devil Inside said:
It's only few minutes, you hve to translate few lines only for gods sake
Click to expand...
Click to collapse
Few minutes??? I don't want to sit in chair all day.

eagleeyetom said:
added Polish and German translation (thanks to B.Jay)
Click to expand...
Click to collapse
Ok, I synced with doixanh's GIT repo and updated the ZIP file containing the language files eagleeyetom linked in his post.
This one incorporates:
- the "values" directory containing the english XML files
(use the files in there as your reference about strings that have been added but aren't covered in your specific language)
- the CURRENT German strings.xml that matches GDXv017
Apart from that one of the translations (values-ca?) had larger files than in eagleeyetom's ZIP, so I put them into the ZIP as well.
NOTE: This is NOT a flashable update ZIP containing a APK - this is just a re-pack of the directories and XML files.
Download here
Edit: @eagleeyetom: How do we go about the update ZIPs?
Are translators supposed to PM them to you so you can create the update.zip?
---------- Post added at 01:25 PM ---------- Previous post was at 01:15 PM ----------
dotsen9 said:
Let's make it for all roms...
Click to expand...
Click to collapse
In this case ... if you're on another ROM than GingerDX decompile CMParts.apk, rip the "values" and "values-<lang>" directories out of the "res" folder, put them into a "<ROM><version>_strings.zip" and put them up for download so we can tackle them.
I have no problem with looking into the German translation files of other ROMs to make it a better experience.

I'll gather all the translations from this thread, compile and publish them. That's the best way in my opinion.
I could help with decompiling things. Just put the cmparts.apk here.

@eagleeyetom: You can create a github account, I will add you to CMPart project. You will have permission to push, and we can work together.

https://github.com/eagleeyetom I have one

Added. Manage the translations and push to the repo

German strings.xml for GingerDX v017
--> Dropbox (right-click -> Save as...)
Link will stay the same and get updated upon the release of new updates.
Will look deeper into the CMParts source to see if I can translate the one or another menu where we still have English terms showing up. Will add a post if I modify something else.

Polish and German translations added to doixanh's repo.

I see that some translations were pushed to the repo. Thanks eagleeyetom
/edit: oops, almost at the same time as eagleeyetom's post

Working on portuguese translation already.. I will post tomorrow

With new nightly translation is a mess. I must spend some time to translate new cm features.
Sent from my X8 using xda premium

Bulgarian
working on Bulgarian right now

doixanh, I have problem. I don't know why, but when I added some strings to translations of new CM options I can't compile apk. I'm using n00b friendly method from this post, just to test if my new lines works. And I can't compile it. It gave me an error and lightweight file, which causes FC ;( I attach strings.xml of polish version. Could you look at this and give me a tip, what am I doing wrong? I don't want to add to your repo some wrong file.

Related

[Translation] Java app to easily translate APKs and ROMs

HI, guys. I am developing a java app to easily translate apks (in next versions I will add a complete rom translation option and the option to change the language, in this version only creates de values-es directory).
I would like you to test it, suggestions and corrections are welcome. You can download it in this thread of miui-dev forum:
http://forums.miui-dev.com/showthread.php?3160-PC-App-to-easily-translate-apks-and-roms
Thanks.
Hi, guys. New version of my translation program:
http://forums.miui-dev.com/showthre...ily-translate-apks-and-roms&p=34445#post34445
I hope you like it

[DEV] MaclawStudios Camera App

Hi! We've decided to publish my ****ty camera app sources on GitHub.
Here is repo: https://github.com/MaclawStudios/maclawstudios_camera
Now we need your help with translating app to other languages.
Tutorial:
1. Learn how to use Git and fork our repo
2. Create /res/values-<your language code> folder
3. Copy strings.xml from /res/values to your folder
4. Translate it!
5. Push commit to GitHub
6. Click "Pull request" button on your GitHub
7. Wait for approving
8. Enjoy camera app in your language!
Credits:
English - me
Polish - me
German - MardonHH
Dutch - MardonHH
Hungarian - I-sty
Indonesian - ediedroid
Russian - bvp
...
I will translate it in romanian
Cool I'm waiting for pull request.
only 4 lines in the strings.xml file or ?
did i see something wrong in the res/values ?
Only 4 lines.
i will do the spanish translation just wait
ok thank's i try to do the french version :good:
im not sure if we have to translate only the words in inverted comas, or the whole xml?
I tranlated to Hungarian the xml file. But I don't known how do I update to the github.
I will do dutch
done, just waiting for approval
I've translated it in French, but can't update it on github ...
So i upload it here, the files values-fr and translation ... Sorry :S
I hope it help you
German Translation merged.
---------- Post added at 11:22 PM ---------- Previous post was at 11:01 PM ----------
I see some pull requests but most are wrong.
plz use the right path and only translate the string not the rest of code!
path= /res/values-Countrycode/strings.xml
only the bold red part is meant to be Translated:
<string name="appname">Kamera</string>
Plz people correct your pull requests!
---------- Post added at 11:42 PM ---------- Previous post was at 11:22 PM ----------
Dutch translation merged
Indonesian translation merged
Sorry for my lazyness, but I will just post here translation of those 4 lines in latvian language.
Source:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Camera</string>
<string name="hello">MaclawStudios Camera - Beta 1</string>
<string name="unsupported">Unsupported model!</string>
<string name="error">Something went wrong…</string>
</resources>
Translation:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Kamera</string>
<string name="hello">MaclawStudios Kamera - Beta 1</string>
<string name="unsupported">Neatbalstīts modelis!</string>
<string name="error">Kaut kas nogāja greizi…</string>
</resources>
I will translate it in russian
Latvian, French and Russian translations merged
---------- Post added at 01:09 PM ---------- Previous post was at 12:57 PM ----------
Danish translation merged
I translated to Portuguese(Portugal). I'm at work and can't use Github at the moment, but here is the translation:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Câmera</string>
<string name="hello">MaclawStudios Camera - Beta 1</string>
<string name="unsupported">Modelo não suportado!</string>
<string name="error">Alguma coisa correu mal...</string>
</resources>
I got this message:
""Kamera" and "Fényképezőgép" both is possible
kamera - camera, movie camera
fényképezőgép - camera, photo camera
but i think kamera is the better possibility its a shorter name in launcher"
So, I will replace it?
what languages are left to translate to maybe i can translate some?

Need some info about translate CyanogenMod 9.1/10.1

Hi.
I want add/translate CyanogenMod 9.1/10.1 (Lang-Polish) but have two questions:
1. how to generete msgid (Is that requierd?) Sample:
HTML:
<item msgid="5296756001147094692">"Ameryka"</item>
2. do I translate only files in values or also xml either
I have rest staff - git, git account and notepad++
EDIT:
http://developer.android.com/guide/topics/resources/localization.html
http://developer.android.com/training/basics/supporting-devices/languages.html
http://blog.elsdoerfer.name/2010/04/08/android2po-managing-android-translations/
hi. did you find anything? i want to translate cm too. but i dont know how to do.
i can search in cyanogenmod github for application, in its /res/values-xx/strings.xml files
but i dont know it is the correct place and what can i do in there.
can you help?

[CM11][KK][GUIDE][XPERIA] How Port Z2 Framework to any CM11 in 15 min

Hi Users, to September 15 I'm not in the country. I can not access the email. You can send me a message but I replay you when I'm return.
Hi
Gets a lot of emails regarding Z2 framework so I decided to do guide How port Z2 framework
Today I will teach you how to make your own Z2 framework that should work on any Rom CM11 on all Xperia devices
In this guide, I will not teach how to properly decompile and decompile apps because:
Firstly, there are many online Guide on this subject and there is no point duplicating
Secondly I assume that if someone wants to do framework has a basic knowledge about the action of framework
This method works CM11 NOT modded FRAMEWORK
if this method will not work, you can try the other, made prey of my colleague @naheel azawy
LINK
Ok Here we go
*
1 Decompile your framework-res.apk for your version of CM11
2 Decompile my last Z2 framework for CM 11 Legacy Xperia included in this topic:
3 Install File Menager on your computer (I use Total Commander, I think that is the best and of course free)
4 Copy this files from my folder [anim] to your folder [anim]
Code:
somc_dialog_popup_exit.xml
somc_task_open_exit.xml
somc_dialog_popup_enter.xml
somc_activity_open_enter.xml
somc_input_method_exit.xml
somc_task_close_enter.xml
somc_activity_open_exit.xml
somc_activity_close_exit.xml
somc_task_close_exit.xml
somc_toast_exit.xml
somc_activity_close_enter.xml
somc_toast_enter.xml
somc_input_method_enter.xml
somc_task_open_enter.xml
5. Copy all files from my folder [color] to your folder [color]
6. Copy all files from my folder [drawable] to your folder [drawable]
6. Copy all files from my folder [drawable HDPI] to your folder [drawable HDPI]
7. Copy this files from my folder [layout] to your folder [layout]
semc_tab_indicator_holo_light.xml
semc_tab_indicator_holo_dark.xml
8. In folder [valiues] open color.xml file, open the same file in your framework
Overwrite all the same the same lines with the values ​​from my file and add new lines from my files
IMPORTANT
If there are VALUES IN YOUR FILE XML, WITH ISNT IN MY FILE XML. DO NOT REMOVE THEM.
9. In folder [values] open drawables.xml file, open the same file in your framework
Overwrite all the same the same lines with the values ​​from my file and add new lines from my files
IMPORTANT
If there are VALUES IN YOUR FILE XML, WITH ISNT IN MY FILE XML. DO NOT REMOVE THEM.
example
my file
<color name="holo_blue_light">#ff33b5e5</color>
your file
<color name="holo_blue_light">#ff000000</color>
my file
<item type="drawable" name="notification_template_icon_bg">#44000000</item>
your file
<item type="drawable" name="notification_template_icon_bg">#ff000000</item>
Only change this value #ff000000
11. Copy this files from my folder [values] to your folder [values]
styles.xml
11. Mynewest framework 08 08 14 contains changes in other files. Of these files also need to add lines to your files list
Code:
arrays.xml
attrs.xml
bools.xml
dimens.xml
drawables.xml
ids.xml
integers.xml
plurals.xml
strings.xml
Please, DO NOT GIVE plenty of lines NEW ALWAYS ADD NEW LINES AT THE END
Recomplie framework.apk
Do flashable zip
Go to CWM
wipe cache partition
wipe dalvik cache
flash framework
DONE Remember press thanks
Please send your reports on operating devices
Framework CM11
Settings
Special thanksfor @gamzekal and its magnificent Xperia Settings
Theme Accent will work with your new Framework
My Last Framework 08.08.14
WoW perfect work.Thanks bro awesome work:good::good::good::good:
Add screenshot
it is tested.It works great.
got error
Nice job ! brother , i like it ,this post is amazing ! I'll try it, i cannot wait
Sent from my R800i using XDA Free mobile app
@jaguelos
\styles.xml:3087: error: Error: No resource found that
matches the given name: attr 'dialogStyle'.
This mean,
You musst add dialogStyle to your styles.xml
PHP:
<style name="Preference.Holo.Light.RingtonePreference" parent="@style/Preference.Holo.RingtonePreference">
<item name="dialogStyle">@style/Theme.Holo.Light.Dialog.Alert</item>
</style>
Tutorial :
1)No resource found that
matches the given name: XXXXXXX
This mean some resources are missed.
2)\ApkChanger\out\30framework-res\res\values\public.xml:6613: error: Public symbol drawable/xxxx declared here is not defined.
You should delete line 6613 in public.xml
jaguelos said:
got error
Click to expand...
Click to collapse
bro with rom ??
in sttrs.xml missing this line
Code:
<attr name="dialogStyle" format="reference" />
</resources>
add it to end
gamzekal said:
@jaguelos
\styles.xml:3087: error: Error: No resource found that
matches the given name: attr 'dialogStyle'.
This mean,
You musst add dialogStyle to your styles.xml
PHP:
<style name="Preference.Holo.Light.RingtonePreference" parent="@style/Preference.Holo.RingtonePreference">
<item name="dialogStyle">@style/Theme.Holo.Light.Dialog.Alert</item>
</style>
Tutorial :
1)No resource found that
matches the given name: XXXXXXX
This mean some resources are missed.
2)\ApkChanger\out\30framework-res\res\values\public.xml:6613: error: Public symbol drawable/xxxx declared here is not defined.
You should delete line 6613 in public
Click to expand...
Click to collapse
bro this style is add to my styles.xml in framework Z2
No resource found that
matches the given name: attr 'dialogStyle'.
I'll explain to you
does not mean the lack of style in xml.
Only one line in the file attrs.xml
The style is added in, the file styles.xml
Ambor said:
bro with rom ??
in sttrs.xml missing this line
Code:
<attr name="dialogStyle" format="reference" />
</resources>
add it to end
Click to expand...
Click to collapse
ROM : Xperia UltraKat v2.1.1
LexacyXperia build 20140319
and this my framework
http://www.mediafire.com/download/c5rz0d7ml4yj101/Myframework-res.apk
jaguelos said:
ROM : Xperia UltraKat v2.1.1
LexacyXperia build 20140319
and this my framework
http://www.mediafire.com/download/c5rz0d7ml4yj101/Myframework-res.apk
Click to expand...
Click to collapse
add line and compile apk send result
Ambor said:
add line and compile apk send result
Click to expand...
Click to collapse
added line
jaguelos said:
added line
Click to expand...
Click to collapse
Bro
Bro first. your framework is already mod
And my guide is for not modded framework working on CM11
Second you skipped point 6 guide (You must copy and add ALL files to drawable folder)
Do it again step by step and make sure you do not miss any point
check this frame
can you upload Resizable PNG's for Mdpi ?
Black_Eyes said:
can you upload Resizable PNG's for Mdpi ?
Click to expand...
Click to collapse
bro i make pngs for mdpi :
http://www.mediafire.com/download/1rxqynitu6jkoi5/drawable-mdpi.rar
enjoy it.
.
alinolaw71 said:
bro i make pngs for mdpi :
http://www.mediafire.com/download/1rxqynitu6jkoi5/drawable-mdpi.rar
enjoy it.
.
Click to expand...
Click to collapse
Thanks So Much
---------- Post added at 12:44 PM ---------- Previous post was at 12:26 PM ----------
We need to add this in Colors.xml at the End ?
<color name="black_dark">#ff33b5e5</color>
<color name="blue_tab">#ff33b5e5</color>
<color name="somc_theme_accent_color_dark">#ff33b5e5</color>
<color name="somc_theme_accent_color_light">#ff33b5e5</color>
Black_Eyes said:
Thanks So Much
---------- Post added at 12:44 PM ---------- Previous post was at 12:26 PM ----------
We need to add this in Colors.xml at the End ?
<color name="black_dark">#ff33b5e5</color>
<color name="blue_tab">#ff33b5e5</color>
<color name="somc_theme_accent_color_dark">#ff33b5e5</color>
<color name="somc_theme_accent_color_light">#ff33b5e5</color>
Click to expand...
Click to collapse
you need to add these values ​​as you want to theme engine worked
* Not long will do the update framework
Code:
<color name="black_dark">@color/somc_theme_accent_color_dark</color>
<color name="blue_tab">@color/somc_theme_accent_color_dark</color>
<color name="semc_theme_accent_color">@color/somc_theme_accent_color_dark</color>
<color name="somc_theme_accent_color_light">@color/accent_color_light</color>
<color name="somc_theme_accent_color_dark">@color/accent_color_dark</color>
<color name="semc_theme_illumination_color">@color/accent_color_illumination</color>
<color name="somc_accent_color_neutral">@color/accent_color_neutral</color>
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
<color name="somc_quick_settings_accent_color">@color/semc_theme_accent_color</color>
Pattern of bro gamzekal we tried kompletyn theme engine to CM11 framework bark to August was based only on 4 values ​​RBG
Code:
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
I know how to translate 99 percent of the framework Z2. I do not understand a few functions
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
[COLOR="Red"]<checkable android:background="@drawable/semc_btn_check_holo_dark_background" [COLOR="red"]android:mark=[/COLOR]"@drawable/semc_btn_check_holo_dark_indicator"[COLOR="red"] android:transitionDuration="600" android:markSize="1.0"[/COLOR]
xmlns:somc="http://schemas.android.com/apk/res/com.sonyericsson.uxp" />
</item>
</layer-list>
<checkable
android:mark
android:transitionDuration
android:markSize />
Ambor said:
you need to add these values ​​as you want to theme engine worked
* Not long will do the update framework
Code:
<color name="black_dark">@color/somc_theme_accent_color_dark</color>
<color name="blue_tab">@color/somc_theme_accent_color_dark</color>
<color name="semc_theme_accent_color">@color/somc_theme_accent_color_dark</color>
<color name="somc_theme_accent_color_light">@color/accent_color_light</color>
<color name="somc_theme_accent_color_dark">@color/accent_color_dark</color>
<color name="semc_theme_illumination_color">@color/accent_color_illumination</color>
<color name="somc_accent_color_neutral">@color/accent_color_neutral</color>
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
<color name="somc_quick_settings_accent_color">@color/semc_theme_accent_color</color>
Pattern of bro gamzekal we tried kompletyn theme engine to CM11 framework bark to August was based only on 4 values ​​RBG
Code:
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
I know how to translate 99 percent of the framework Z2. I do not understand a few functions
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
[COLOR="Red"]<checkable android:background="@drawable/semc_btn_check_holo_dark_background" [COLOR="red"]android:mark=[/COLOR]"@drawable/semc_btn_check_holo_dark_indicator"[COLOR="red"] android:transitionDuration="600" android:markSize="1.0"[/COLOR]
xmlns:somc="http://schemas.android.com/apk/res/com.sonyericsson.uxp" />
</item>
</layer-list>
<checkable
android:mark
android:transitionDuration
android:markSize />
Click to expand...
Click to collapse
So i can add these that you shown in Colors.xml at the the end?
or it's just Ok to add that just 4 lines ?
yes

[Q] To remove translation part from ocr

Currently i trying to build an ocr in android and i got an opensource code for that , in that there is an translation part being there i need to remove that part .
i tried to remove the translation part from the source code , but it's show many errors.
i have been attached source code also.
can any one please help

Categories

Resources