Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can overwrite the Language Settings of the Android device with this code:</p> <pre><code>Configuration config = new Configuration(); Locale locale = new Locale("ja"); Locale.setDefault(locale); config.locale = locale; ((Activity) c).getBaseContext().getResources() .updateConfiguration(config, null); </code></pre> <p>If you said its hidden in the OS and your users just cant select it, this might work.</p> <p>But if the device has this language not installed, it will be impossible to achieve your goal. You cant just install a new language onto the device.</p> <p>Edit: If you add this code to the Start of your App, the Phone will report being japanese despite the SystemLanguage. So it will use your "values-ja" for example.</p> <p>Having the SystemLanguage installed only matters for SystemValues like preset submit buttons for example.</p> <p>So you can just let the phone behave like its japanese without knowing any japanese. It will just take your japanese resources.</p> <p>There might only be one problem, you would have to create your own keyboard if the System has no Japanese Keyboard installed.</p> <p>See <a href="http://tutorials-android.blogspot.de/2011/06/create-your-own-custom-keyboard-for.html" rel="nofollow">http://tutorials-android.blogspot.de/2011/06/create-your-own-custom-keyboard-for.html</a></p> <p>I'm not 100% if this really works with japanese because i dont know if those phones who cant select japanese know how to draw japanese letters, but they should be able to.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload