Language suport


Arnis

Members
Mar 17, 2013
67
20
Hi,
I`m proud owner of mi2,
but there is no latvian suport.
I have a idea to start translating .
I`ve done some research to speed up translation.
there are couple ways..... with APK edit can easy add LV string , thenas use XmlContentTranslator witch has google translate suport and in this case need just to make small corections. then use jBART to recompile add files and compile.
anyway wich files are the ones that I should start and how to add Latvian language option to rom
Is it like if I choose Latvian in rom it uses general english and if there are LV string it uses LV for aplications, wich files are responsable for all the settings ?
or take EN translation and rename it to LV and bit by bit translate and test


Thanx
 
Hi,
I`m proud owner of mi2,
but there is no latvian suport.
I have a idea to start translating .
I`ve done some research to speed up translation.
there are couple ways..... with APK edit can easy add LV string , thenas use XmlContentTranslator witch has google translate suport and in this case need just to make small corections. then use jBART to recompile add files and compile.
anyway wich files are the ones that I should start and how to add Latvian language option to rom
Is it like if I choose Latvian in rom it uses general english and if there are LV string it uses LV for aplications, wich files are responsable for all the settings ?
or take EN translation and rename it to LV and bit by bit translate and test


Thanx
Here is our multilang version http://miuiandroid.com/community/threads/miui-v5-multi-lang-3-3-15.19847/

If you want start to translate, follow our translation guide..
 
thanx,
I got it !
but if its not secret how to add Latvian language choice in rom?
I would like to to some testing and its stupid every time install language enabler app to get latvian. and it also swiches phone other apps that has lv strings, like google programs.
is it like if I change in build.prop file

ro.product.locale.language=lv
ro.product.locale.region=lv

will have it as default
thanx
 
thanx,
I got it !
but if its not secret how to add Latvian language choice in rom?
I would like to to some testing and its stupid every time install language enabler app to get latvian. and it also swiches phone other apps that has lv strings, like google programs.
is it like if I change in build.prop file

ro.product.locale.language=lv
ro.product.locale.region=lv

will have it as default
thanx
Use Morelocale2 app from Play store...
 
thanx,
I got it !
but if its not secret how to add Latvian language choice in rom?
I would like to to some testing and its stupid every time install language enabler app to get latvian. and it also swiches phone other apps that has lv strings, like google programs.
is it like if I change in build.prop file

ro.product.locale.language=lv
ro.product.locale.region=lv

will have it as default
thanx

If inside the framework-res/res/ exists a folder called values-lv-rLV (or whatever is the 2 letter code for Latvian) then you ll be able to see Latvian option under settings

On the road using my HOX
 
OK
I tested
If I add in miui framework rLV I get lattvian in menu and like it says in manual... adding string files from JB wich is translated it takes lines.And missing lines adds from source.
So roughly transalation can be added from JB and only have to translate missind lines
 
Please, in wich apk livs Messaging strings and where is hiding Phones "Keypad" text
Thanx
I`m slowly with some help translating to latvian. not a big market, but I love miui and dont know haw I could use stock
 
Hi,
I got problem.
when in messaging I choose new message and want select recipient in right top corner I get this
In wich file have I made mistake ?


java.util.UnknownFormatConversionException: Conversion: D
at java.util.Formatter$FormatToken.unknownFormatConversionException(Formatter.java:1397)
at java.util.Formatter$FormatToken.checkFlags(Formatter.java:1334)
at java.util.Formatter.transform(Formatter.java:1440)
at java.util.Formatter.doFormat(Formatter.java:1079)
at java.util.Formatter.format(Formatter.java:1040)
at java.util.Formatter.format(Formatter.java:1009)
at java.lang.String.format(String.java:1998)
at android.content.res.Resources.getString(Resources.java:361)
at android.app.Fragment.getString(Fragment.java:779)
at com.android.contacts.list.ContactEntryListFragment.a(ContactEntryListFragment.java:552)
at com.android.contacts.list.PhoneNumberPickerFragment.a(PhoneNumberPickerFragment.java:237)
at com.android.contacts.list.PhoneNumberPickerFragment.onLoadFinished(PhoneNumberPickerFragment.java:40)
at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:482)
at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:450)
at android.content.Loader.deliverResult(Loader.java:143)
at android.content.CursorLoader.deliverResult(CursorLoader.java:113)
at android.content.CursorLoader.deliverResult(CursorLoader.java:43)
at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:254)
at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:91)
at android.os.AsyncTask.finish(AsyncTask.java:631)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4797)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:804)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:571)
at dalvik.system.NativeStart.main(Native Method)
 
Hi,
I got problem.
when in messaging I choose new message and want select recipient in right top corner I get this
In wich file have I made mistake ?


java.util.UnknownFormatConversionException: Conversion: D
at java.util.Formatter$FormatToken.unknownFormatConversionException(Formatter.java:1397)
at java.util.Formatter$FormatToken.checkFlags(Formatter.java:1334)
at java.util.Formatter.transform(Formatter.java:1440)
at java.util.Formatter.doFormat(Formatter.java:1079)
at java.util.Formatter.format(Formatter.java:1040)
at java.util.Formatter.format(Formatter.java:1009)
at java.lang.String.format(String.java:1998)
at android.content.res.Resources.getString(Resources.java:361)
at android.app.Fragment.getString(Fragment.java:779)
at com.android.contacts.list.ContactEntryListFragment.a(ContactEntryListFragment.java:552)
at com.android.contacts.list.PhoneNumberPickerFragment.a(PhoneNumberPickerFragment.java:237)
at com.android.contacts.list.PhoneNumberPickerFragment.onLoadFinished(PhoneNumberPickerFragment.java:40)
at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:482)
at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:450)
at android.content.Loader.deliverResult(Loader.java:143)
at android.content.CursorLoader.deliverResult(CursorLoader.java:113)
at android.content.CursorLoader.deliverResult(CursorLoader.java:43)
at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:254)
at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:91)
at android.os.AsyncTask.finish(AsyncTask.java:631)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4797)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:804)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:571)
at dalvik.system.NativeStart.main(Native Method)
Check Contacts.apk or MMS.apk strings.xml... You have there invalid variable...
 
invalid variable...
can not figur out wich
whot can be wrong
messaging and phone work with translated files just thet link worryes me. can add manualy and pops up contact, but icon with person dose not link to contacts

and ewery translation language has differernt content os string files ?!?!?!