Android Language support - android

I have an application to which I want to add Burmese Language support. Anyone any Idea how to achieve that as google translator doesn't have feature to translate to burmese.
Also I have tried Few other links which is giving me keyboard like this
http://www.stars21.com/keyboard/burmese_keyboard.html

Android official language support allows you to set the phones locale to whatever is available. The list of available locales as shown HERE.
Being on that list means: the user can set the language of the app and the whole system. And you can have folders like res/values-de to show locale specific strings.
Supporting a language which is not specified and supported in the phones is difficult. AFAIK
Burmese language is not supported by phones. You can check out List of locale supported by android.

If you are logged on your computer, go to the Set Locale and Language© site on Google Play℠ and request the installation over the web interface. Or, follow the steps below to install it in your device directly:
Open “Google Play” on your device.
Tap on “Search” and type “locale select” in the search box.
Tap on “Set Locale and Language” app, which should be the first result.
Tap on “Download” and then on the “Accept & download” button.
Wait until the app gets installed.
Now, go to the system settings of your device and choose from the new installed languages in the “Language and Input Settings” option.
Set the language you want from the available list.

Related

Android change keyboard language programmatically

I'm building a single purpose app for one and only one device model. Therefore I allow switching languages within the app as I do not want the user to open the settings.
I was successful in changing the Locale.
I was unsuccessful switching the language input (understand switching the keyboard from thai to english and english to thai).
Note: It comes from factory with English and Thai language inputs already installed and available.
Note 2 : I've seen a load of solution on google but I find none of them precise enough to know if it's doable and how to perform this. I mention this because I'd like to avoid one more copy paste of this solution for eg : Change Keyboard Input Language Programmatically. It might be a good solution, but I just don't get it.

Android Library to Support Indian Languages

I am writing an app in which I have to support all Indian languages and for that I am looking for some third party library (free or paid)
I googled many times for the same but I did not get any decent option (library)
I just got use strings.xml for (English, Hindi) in their respective folders.
But I have seen in Whatsapp there is a multilanguage option, which supports almost all major indian languages
For an Example : If I do select Hindi language, so it translates complete app in Hindi language only
Same kind of functionality, I need in my app, like in drop down, If user do tap on any of the Indian language, my app has to converted in same one only (Like: Hindi, Telugu, Marathi, Gujarati and others)
What would be the best way of doing this and getting it done?
It depends what do you mean by "support"
Android supports all Indic languages. But it is not localized in all them.
Because of that, some of them cannot be selected from Settings.
But if you can provide string.xml files for all of them, and put them in the proper values-xy folder.
Possible problems:
How to select a language that the OS does not support? Have your own language selection. Once a locale is selected, call Locale.setDefault (to change the formatters), and change the resource loading configuration (Set Locale programmatically)
You see squares. This means missing fonts. Android has fonts for all the Indic scripts. But older phones might miss some. And OEMs might remove some to reduce size. So you can embed the proper Noto fonts in your application and use them (https://www.google.com/get/noto/). Use styles, and have language specific style sheets.
Keyboard missing. Install one. Here is the Google one: https://play.google.com/store/apps/details?id=com.google.android.apps.inputmethod.hindi. But there are also third party ones, for instance https://play.google.com/store/apps/details?id=org.smc.inputmethod.indic

Android studio and localizing apps

I'm currently working on an app, which will be used (hopefully) by various tourist to my city. as such, i would like to complement as many languages as i can, and i have the appropriate translators to do so. I've read and started to implement the various different resources in the res folder, i already have some translated, i have a folder for each language as described in the guide from google.
How do I make the app initiate as non-English language in my phone while testing? for example Spanish. every time i run it, it's always English, and i would like to see that the app also works in the other languages, but i can't find anywhere how to initiate it.
I realize I might be simply overlooking something basic.
Thanks.
The language of the app is based on the system language. You need to change the language in Settings -> Language & input.
Change phone language from Settings->Language & input
If you use a physico-chimiques devices you have to change the languages of your device
If you use a emulator I think you can set the language on the creation.
If your tester have a android with spanish language, the app will be automatically on spanish. (if you create a filé string.xml in a values-es folder)

"Multi-lingual Support" detection in Android

I am working on the new application and want to give users an option to change language based on their preference. At the same time, I don't want to show this options to such users whose device doesn't support multi-lingual.
Can you please help me with this?
The base Android already allows the user to select their language system wide, so you don't need to duplicate this feature in your app, and all you need to do is to provide resources in multiple languages. These will be picked up automatically by Activity.getString() and other resource aware routines.

Allowing user to select app language/locale?

I have an Android app that I have just prepared for localization, with one locale completed and more on the way. I want to give users the option of viewing the app in a different locale (ie- language) without having to modify their system locale settings.
So, for example:
App has locale capability for en, es, zh, ja.
User has "es" selected as their system locale.
User can open the application's preferences page and select "ja" locale.
App will now display the text/formatting according to the Ja locale of the app.
Is this possible?
I stumbled onto the following stackoverflow post while on an unrelated search. This is exactly what I've been looking for.
Changing Locale within the app itself

Categories

Resources