[Guide] Add support for Languages...

Instructions how to install and modify JetDroid on your phone

Moderators: Forum moderators, JetDroid Dev Team

[Guide] Add support for Languages...

Postby Carlos_Manuel » Sun Jun 16, 2013 11:06 am


So this is a little guide to support Languages and also about translating...

Linux or Mac for Android building...
Android source files, e.g AOSP, CM, AOKP or PA

I don't recommend this for Gingerbread and older Android versions because those doesn't have a lot of extra translations or some translations which are in ICS+ (Android Ice Cream Sandwich 4.0.x and newer.. Jelly Bean, Key Lime Pie?)

So this guide is better for ICS+

CM10.1 or AOSP:
Ok so Google's repositories has Estonian translations for Jelly Bean and its system apps, but for some reason they don't add the support for Estonian language!
So Now I'll show you how to enable Estonian language (adding the support)!

First: You have to know about the Country ISO codes: (If you don't know about it, Google it)

Estonia = et

Go to you android sources directory, there you see a lot of folders.. Open this folder: build
Now open this file buildspec.mk.default <--- Search line with this text: "CUSTOM_LOCALES:=
now after = add Estonian country and locale ISO code... it is et_ET
So the line looks like this:
Code: Select all

Now from build folder open another folder: target and from this folder open another folder: product

Open these files:


To those files add et_ET after es_ES and save files..
to sdk.mk, scroll down until you see county ISO codes..
Code: Select all
      es_ES \
add this Estonian country ISO code...
Code: Select all
      et_ET \

Save file and exit!

Creating translations:
Ok so do the same to another languages in build folder and then save file and if translations does not exist then translate at least frameworks/base/core/core/res (framework-res.apk), frameworks/base/packages/SystemUI/res/ (SysetmUI) and packages/apps/Settings/res/ (Settings.apk)

Here is great guide:
http://developer.android.com/training/b ... uages.html
Just make folder values-"country-code" copy strings.xml from another folder and translate the lines yourself from strings.xml and other files inside values-"country-code" e.g. arrays.xml

Then just repo sync and build your ROM..

Hopefully this is helpful..
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Dev Team
Dev Team
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland


Return to JetDroid Howto Guides

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement