Related
Hi,
I got a Desire which has only English and French language support.
HTC told me that even they are not able to add additional languages, since Android is setting the language according to a specific file in the file system.
So if you are installing a new firmware, only the selected languages are installed, even that all languages are included in the firmware file.
My question now, is it possible to add additional languages, or change the file that with the next firmware upgrade additional languages are installed?
Thanks
.
THIS IS FOR NOOK SIMPLE TOUCH WITH [highlight]FIRMWARE 1.1[/highlight]!
.
[highlight]After installation it is neccessary to use 'more locale 2':
https://market.android.com/details?...xLDEsImpwLmNvLmNfbGlzLmNjbC5tb3JlbG9jYWxlIl0.[/highlight]
Here You have. I've added languages for everything which is included in framework-res. It includes many dialogs, OK/CANCEL dialogs etc. What is most important it will add definitions for dates, times etc. This will not translate B&N specific programs (like 'library' and 'shop').
Added languages (you can choose):
ar
bg
ca
cs
da
de
el
es
ed
fi
fr
he
hi
hr
hu
id
it
ja
ko
land
lt
lv
nb
nl
pl
pt
ro
ru
sk
sl
sr
sv
th
tl
tr
uk
vi
zh
languages with better support by android:
Chinese, PRC (zh_CN)
Chinese, Taiwan (zh_TW)
Czech (cs_CZ)
Dutch, Netherlands (nl_NL)
Dutch, Belgium (nl_BE)
English, US (en_US)
French, France (fr_FR)
French, Belgium (fr_BE)
French, Canada (fr_CA)
French, Switzerland (fr_CH)
German, Germany (de_DE)
German, Austria (de_AT)
German, Switzerland (de_CH)
German, Liechtenstein (de_LI)
Italian, Italy (it_IT)
Italian, Switzerland (it_CH)
Japanese (ja_JP)
Korean (ko_KR)
Polish (pl_PL)
Russian (ru_RU)
Spanish (es_ES)
languages are taken from 2.2 sdk repository:
http://developer.android.com/sdk/android-2.2.html#locs
There are two files: one for manual install via ADB and one to flash via CWM recovery. I'm recommending second option as much more safe.
*****
***** it is already reported to work ok
*****
YOU STILL NEED 'MORE LOCALE 2' to change language in system.
Korean!!!
But, how do you do that? Are you adding fonts to /system/fonts folder or replace one of the stock fonts? If it is the latter case, I found out that replacing with some fonts soft-bricked NookTouch. If you need fonts, here's the link. It contains two sets of fonts. We don't have italic nor bolditalic.
http://www.kopus.org/upload_file/font/KOPUB_TTF_FONTS.zip
Anyway thanks for doing this!
herofmm said:
Korean!!!
But, how do you do that? Are you adding fonts to /system/fonts folder or replace one of the stock fonts? If it is the latter case, I found out that replacing with some fonts soft-bricked NookTouch. If you need fonts, here's the link. It contains two sets of fonts. We don't have italic nor bolditalic.
http://www.kopus.org/upload_file/font/KOPUB_TTF_FONTS.zip
Anyway thanks for doing this!
Click to expand...
Click to collapse
You probably just copied fonts without setting proper file permissions. Then You have boot loop because android cannot load fonts. You have to set proper file permissions before reboot.
You need to replace HelveticaNeue as those are fonts used in Nook (DroidSans in every other android device).
I can add Korean language to framework-res (main android file), but You have to workout font problem by yourself. Probably it will be better to use some font which has every UTF chars including Korean.
Hi
can you please add italian language?
that would be awesome!
than33 said:
You probably just copied fonts without setting proper file permissions. Then You have boot loop because android cannot load fonts. You have to set proper file permissions before reboot.
You need to replace HelveticaNeue as those are fonts used in Nook (DroidSans in every other android device).
I can add Korean language to framework-res (main android file), but You have to workout font problem by yourself. Probably it will be better to use some font which has every UTF chars including Korean.
Click to expand...
Click to collapse
I set the permission properly as I've used linux for a while. I switched fonts using noogie.img and linux. But some combinations simply work and some does not. For example, I have korean font A (similar to sans), I switch A with Trebuchet_regular, it work. but if I switch it with Amasis_regular, it does not. I don't know whether there are some compatibility issues regarding fonts.
Also, I can see korean fonts in the library(title, author's name) but not in the reader. Does it mean library uses different fonts? (since HelveticaNeue definately does not support korean).
I'm just trying to find out general rule for switching fonts. Since, you know, people have a lot of different preference, so people want to use different fonts. Again, thanks a lot.
I would just like it if we could figure out how to add a font to the list of available fonts in the drop-down box under the font options in the Text dialog. Then instead of replacing fonts, we could just add any of the fonts people are looking for. It must be possible, just not sure quite how to do it. Has anyone used "Font Changer (Root)" from the marketplace on the NST?
Carrick1973 said:
I would just like it if we could figure out how to add a font to the list of available fonts in the drop-down box under the font options in the Text dialog. Then instead of replacing fonts, we could just add any of the fonts people are looking for. It must be possible, just not sure quite how to do it. Has anyone used "Font Changer (Root)" from the marketplace on the NST?
Click to expand...
Click to collapse
I used Font Changer (Root). It is quite working well in terms of replacing fonts. However, there's still a bug that if you choose to see preview before replacing fonts, it replaces wrong fonts. Still, replacing fonts is quite dangerous since it will put NookTouch in boot-loop.
One of the ways which is quite working well so far is replacing only regular font and deleting bold, italic, bolditalic. I am successfully reading Korean text through the stock reader.
Could you add russian as well, please?
MULTILANGUAGE BETA added.
Hi than33,
can you tell us where to push the framework-res.apk file with adb ?
Is it in /system/app or in /system/framework/ ?
tebra said:
Hi than33,
can you tell us where to push the framework-res.apk file with adb ?
Is it in /system/app or in /system/framework/ ?
Click to expand...
Click to collapse
/system/framework
I don't think it is safe to push it on system already running. Probably it will crash system immediatelly without any chance to change file permissions.'
I think You have to do this by CWM recovery. I've uploaded file to be flashed via CWM recovery. On the second hand if You have CWMR it is easy to flash original framework in case of something goes wrong.
UPDATE: uploaded MULTILANGUAGE file to flash via CWM RECOVERY
Spanish pleaseee
I flash it via CWM RECOVERY and it works good.
Many apps in french now.
Thank you
Thai Please
TowaTou said:
Spanish pleaseee
Click to expand...
Click to collapse
It was already added. My llist of available languages wasn't complete.
I cannot add more languages as those are all which are available in android sdk.
Please check once again if your language is on list. (updated 2012-01-03)
than33 said:
It was already added. My llist of available languages wasn't complete.
I cannot add more languages as those are all which are available in android sdk.
Please check once again if your language is on list. (updated 2012-01-03)
Click to expand...
Click to collapse
Tnx a lot for your work!
tebra said:
I flash it via CWM RECOVERY and it works good.
Click to expand...
Click to collapse
I did the same and Nook felt to bootloop. Will try ADB tomorrow after factory reset.
P.S. Sorry, it seems it's not your fault. The bootloop continues even after factory reset. Probably something went wrong with CWR...
P.P.S. Alas, the problem persists. Factory reset with 2 buttons doesn't help against the bootloop, but 8 interrupted reboots does. After the restore I tried to apply your framework, and got the same bootloop. I have a 1.0.1 version, is it critical?
KOCTA said:
P.P.S. Alas, the problem persists. Factory reset with 2 buttons doesn't help against the bootloop, but 8 interrupted reboots does. After the restore I tried to apply your framework, and got the same bootloop. I have a 1.0.1 version, is it critical?
Click to expand...
Click to collapse
It works for me but I have 1.1.0 version. Maybe it matter
I confirm, it works only with 1.1.0, previous versions won't boot up with this framework.
Actually I can't see any difference before and after update. Even power off message and buttons remain in English. Could somebody post any examples of the translation? Or how to check if the update was succsessful or not?
I'm terribly sorry that I didn't mention that this is for firmware 1.1. My mistake!
I've changed first post to be more clear.
Hi all,
I was wondering if someone in here knew the location of the languages downloaded for the Samsung Keyboard ?
I looked around but i didn't find the location of these files yet.
The French Canadian keyboard should be QWERTY (it's our standard) but unfortunately, they set that particular one
to AZERTY, which is very frustrating considering I want predictive text writing in french without the non-standard layout.
My intent would be to edit the file to display a qwerty layout (if even possible, I have to find the file first to determine that.)
Thank you for your insights !
I would like to bump up that topic, cause it is interesting for me too. Is it possible to rearrange the letters of the stock keyboard somehow?
I found two things.
First, for my matter, it doesn't really matters since I can use french predictive text while being on the english
input language and therefore staying with my standard layout.
But, I pursued my research and found these informations
(they might come handy at a later time)
APK Path : /System/app/SamsungIME.apk
Data Path: /Data/data/com.sec.android.inputmethod
In the subdirectory SwiftKeys, there is a file called languages.json reavealing the download source of the samsung languages.
English (US) : touchtype-fluency#com/samsung/downloads/en_US.zip
French (CA) : touchtype-fluency#com/samsung/downloads/fr_CA.zip
(You'll have to replace the # for a dot... I'm not yet allowed to post external links.)
in the zip, you find I think all the things related to the layout, dictionary, etc...
- .Config
- charactermap.json
- extraData.json
- fr_CA_fbg_C.lm1
- fr_CA_fbg_C.lm3
- fr_CA_fg_C.lm3
- punctuation.json
I didn't found (yet) where is the location of these file on the phone itself but it might be possible to add or change
characters after a long press by editing the charactermap.json file and of course, overriding the one in the phone
(that I still have to find).
Sage Pourpre said:
I found two things.
First, for my matter, it doesn't really matters since I can use french predictive text while being on the english
input language and therefore staying with my standard layout.
But, I pursued my research and found these informations
(they might come handy at a later time)
APK Path : /System/app/SamsungIME.apk
Data Path: /Data/data/com.sec.android.inputmethod
In the subdirectory SwiftKeys, there is a file called languages.json reavealing the download source of the samsung languages.
English (US) : touchtype-fluency#com/samsung/downloads/en_US.zip
French (CA) : touchtype-fluency#com/samsung/downloads/fr_CA.zip
(You'll have to replace the # for a dot... I'm not yet allowed to post external links.)
in the zip, you find I think all the things related to the layout, dictionary, etc...
- .Config
- charactermap.json
- extraData.json
- fr_CA_fbg_C.lm1
- fr_CA_fbg_C.lm3
- fr_CA_fg_C.lm3
- punctuation.json
I didn't found (yet) where is the location of these file on the phone itself but it might be possible to add or change
characters after a long press by editing the charactermap.json file and of course, overriding the one in the phone
(that I still have to find).
Click to expand...
Click to collapse
If you're unable to find the one in the phone, would it not be possible to download the .zip, change the required files in it, then upload that somewhere privately and edit the keyboard to download your edited .zip?
Hello everyone,
I bought a nokia XL in belgium. I've managed to root it + installed Gapps.
I need to set the default language to hebrew. I tried Language enabler but it doesn't work for me.
I also need to be able to add an hebrew keyboard (which is not available in the nokia keyboards'language choice).
What are my choices?
TIA & cheers. :fingers-crossed:
ygold said:
Hello everyone,
I bought a nokia XL in belgium. I've managed to root it + installed Gapps.
I need to set the default language to hebrew. I tried Language enabler but it doesn't work for me.
I also need to be able to add an hebrew keyboard (which is not available in the nokia keyboards'language choice).
What are my choices?
TIA & cheers. :fingers-crossed:
Click to expand...
Click to collapse
You're not totally out of luck, but...well, it's complicated.
You can install MoreLocale 2, a free and open source app which requires no rooting to force apps which have a Hebrew translation to use those. Essentially it's similar to the Language Enabler app which you've tried and which really didn't do the trick for you. Know why? Because the Nokia X's default ROM ships with only a handful of languages, which are:
Bahasa Indonesia (Malay)
Bahasa Melayu (Indonesian)
Čeština (Czech)
Deustch (German)
English
Español (Spanish)
Français (French)
Italiano (Italian)
Magyar (Hungarian)
Polski (Polish)
Português (Portuguese)
Română (Romanian)
Slovenčina (Slovak)
Tagalog
Tiếng Việt (Vietnamese)
Türkçe (Turkish)
Ελληνικά (Greek)
Беларуская (Belarusian)
Български (Bulgarian)
Қазақша (Kazahk)
Русский (Russian)
Українська (Ukrainian)
العربية (Arabic)
हिन्दी (Hindi)
ไทย (Thai)
中文 (Chinese)
Any and all other languages not listed above are not natively supported by the default ROM, but you can manually add the support...or more precisely, try to, since you have a rooted device. You'll need to install Xposed Framework and the resOverloader module for it. You'll also need a computer with:
The official USB drivers for the Nokia X
Android Software Development Kit (SDK) installed
Java Software Development Kit (SDK) installed
apktool
Using these tools you are able to extract the system apps' files and the necessary framework .apk file from your device into your computer. After you've decompiled each and every app, you'll need to create a temporary folder for your resOverloader work; I created mine in D:\ so the full path to the folder was D:\resOverloader\. Then you'll need to create a folder inside the resOverload folder and name it according to the app's package; say, if you wanted to translate the HERE Maps app, the package -- and thus the folder -- would be called com.here.app.maps, so the full path would be D:\resOverloader\com.here.app.maps and you'd need to copy the original strings.xml file here from the sources decompiled by apktool, and then manually translate it! Talk about a tedious process -- took me over a week to translate most of the system apps and whatnot.
Once you've translated whatever you want and need, push the resOverloader folder to your device via the "adb push" command into /storage/sdcard0/ (which would mean that the path to the HERE Maps app's translations would be /storage/sdcard0/resOverloader/com.here.app.maps/). Reboot, or if you want to avoid rebooting, go to Settings > Apps > Manage apps > choose the "All" apps view > find the respective app (say, Maps), tap on it > choose "Clear cache" and you may also need to choose "Clear data" (doing so deletes your data, so be careful and don't use this option if your device has valuable information which isn't backed up anywhere!)
...
By the time you've done all this, you'll notice that despite all your great and time-consuming efforts, some pesky apps won't display in the non-English language you've chosen, no matter what. The biggest offender is the Settings app (com.android.settings), but the Phone app also has some dialogs and whatnot in English, despite that I've translated them; Messaging and Contacts will require the caches to be purged in order to work correctly. Internet (built-in Xpress Browser app) and Camera display menus which contain multiple choices (such as Camera's "Storage" option) display the menu label in your chosen language, but the actual options in English -- this is likely a problem with my translation files, though, as opposed to the resOverloader module or the actual device firmware, I'd guess.
So what do you have at the end of the day, if you've followed my above "guide" patiently and correctly? A Nokia X device which sometimes speaks the desired language to you, and often also speaks English, whether you want it to or not. How to fix this, then? I have no idea, I'm afraid; if you know someone who does or you know yourself how to fix this, do speak up, please! It would be lovely to have the X support at least all the languages the Android Open Source Project (AOSP) does. And yes, I'm somewhat annoyed by the fact I spent over a week translating and fine-tuning these strings.xml files only to find out that they don't quite work "as advertised"...
As for enhancing the Nokia Keyboard to support a new language or multiple languages, I don't know anything about that either -- though it's something I'd also need to do for my native language, Finnish, which isn't supported by Nokia X natively -- but maybe someone else in this forum does?
Hi Jack. thank you very much for such a complete answer. I take from it that it is not a path I will follow. I thought there would be some original ROM I could use.
Anyway, regarding the keyboard I installed another app which offers the keyboards I need.
Cheers.
Jack Phoenix said:
You're not totally out of luck, but...well, it's complicated.
You can install MoreLocale 2, a free and open source app which requires no rooting to force apps which have a Hebrew translation to use those. Essentially it's similar to the Language Enabler app which you've tried and which really didn't do the trick for you. Know why? Because the Nokia X's default ROM ships with only a handful of languages, which are:
Bahasa Indonesia (Malay)
Bahasa Melayu (Indonesian)
Čeština (Czech)
Deustch (German)
English
Español (Spanish)
Français (French)
Italiano (Italian)
Magyar (Hungarian)
Polski (Polish)
Português (Portuguese)
Română (Romanian)
Slovenčina (Slovak)
Tagalog
Tiếng Việt (Vietnamese)
Türkçe (Turkish)
Ελληνικά (Greek)
Беларуская (Belarusian)
Български (Bulgarian)
Қазақша (Kazahk)
Русский (Russian)
Українська (Ukrainian)
العربية (Arabic)
हिन्दी (Hindi)
ไทย (Thai)
中文 (Chinese)
Any and all other languages not listed above are not natively supported by the default ROM, but you can manually add the support...or more precisely, try to, since you have a rooted device. You'll need to install Xposed Framework and the resOverloader module for it. You'll also need a computer with:
The official USB drivers for the Nokia X
Android Software Development Kit (SDK) installed
Java Software Development Kit (SDK) installed
apktool
Using these tools you are able to extract the system apps' files and the necessary framework .apk file from your device into your computer. After you've decompiled each and every app, you'll need to create a temporary folder for your resOverloader work; I created mine in D:\ so the full path to the folder was D:\resOverloader\. Then you'll need to create a folder inside the resOverload folder and name it according to the app's package; say, if you wanted to translate the HERE Maps app, the package -- and thus the folder -- would be called com.here.app.maps, so the full path would be D:\resOverloader\com.here.app.maps and you'd need to copy the original strings.xml file here from the sources decompiled by apktool, and then manually translate it! Talk about a tedious process -- took me over a week to translate most of the system apps and whatnot.
Once you've translated whatever you want and need, push the resOverloader folder to your device via the "adb push" command into /storage/sdcard0/ (which would mean that the path to the HERE Maps app's translations would be /storage/sdcard0/resOverloader/com.here.app.maps/). Reboot, or if you want to avoid rebooting, go to Settings > Apps > Manage apps > choose the "All" apps view > find the respective app (say, Maps), tap on it > choose "Clear cache" and you may also need to choose "Clear data" (doing so deletes your data, so be careful and don't use this option if your device has valuable information which isn't backed up anywhere!)
...
By the time you've done all this, you'll notice that despite all your great and time-consuming efforts, some pesky apps won't display in the non-English language you've chosen, no matter what. The biggest offender is the Settings app (com.android.settings), but the Phone app also has some dialogs and whatnot in English, despite that I've translated them; Messaging and Contacts will require the caches to be purged in order to work correctly. Internet (built-in Xpress Browser app) and Camera display menus which contain multiple choices (such as Camera's "Storage" option) display the menu label in your chosen language, but the actual options in English -- this is likely a problem with my translation files, though, as opposed to the resOverloader module or the actual device firmware, I'd guess.
So what do you have at the end of the day, if you've followed my above "guide" patiently and correctly? A Nokia X device which sometimes speaks the desired language to you, and often also speaks English, whether you want it to or not. How to fix this, then? I have no idea, I'm afraid; if you know someone who does or you know yourself how to fix this, do speak up, please! It would be lovely to have the X support at least all the languages the Android Open Source Project (AOSP) does. And yes, I'm somewhat annoyed by the fact I spent over a week translating and fine-tuning these strings.xml files only to find out that they don't quite work "as advertised"...
As for enhancing the Nokia Keyboard to support a new language or multiple languages, I don't know anything about that either -- though it's something I'd also need to do for my native language, Finnish, which isn't supported by Nokia X natively -- but maybe someone else in this forum does?
Click to expand...
Click to collapse
When I put all the apk files apktool tool unpacked, I found that almost all contain a variety of language packs, such as China Chinese, zh-cn. In particular, the framework document framework-res.apk also contains the complete Chinese and other national language.
Curiously, why the factory after the system starts, you can not choose zh-cn Simplified Chinese language I want it?
The system is not being shielded it? Or what method causes it? There are people who can help me do?
have you tried to install morelocale app or something?
eldar4uk said:
have you tried to install morelocale app or something?
Click to expand...
Click to collapse
If it does.
But I think that he will show the initialization zh-cn simplified Chinese choice, how should I do?
PS: it is the following ClockworkHomeGoogle.apk\assets\ does not contain a zh-cn language pack, cause, my guess is it?