In this second part of Multilanguage Applications we will explain how create an application multilanguage with a no official Android Language. As example Catalan, Catalan is a Language from Catalonia a region from Spain.
with the next code we can load an no official Language:
String LoadLanguage = “ca”;
Locale languageTel = new Locale(LoadLanguage);
Locale.setDefault(languageTel);
Configuration configuracion = new Configuration();
configuracion.languageTel = languageTel;
getBaseContext().getResources().updateConfiguration(configuracion, getBaseContext().getResources().getDisplayMetrics());
So with this code we force to load catalan Language. If yo need more help about Multilanguage applications read the firs post about Multilanguage applications.
