|
From: Mikel A. <art...@gm...> - 2012-07-26 08:36:20
|
> > Just one comment, in the language pair list in Portuguese, the English > language name appears with the firs letter capitalised, and not the > rest of languages. In this case (Portuguese), it shouldn't be > capitalised. > I wrote the code that generates titles for language pairs, and I don't understand why it's not working correctly in this case. In the general case (when we have standard two letter codes), the name of the language is generated as follows: title = new Locale(code).getDisplayLanguage(); It seems that, at the same time, Locale<http://developer.android.com/reference/java/util/Locale.html>uses ICU in Android, so I guess that the problem is theirs... The only thing we could do would be hardcoding the language name for that particular case. Arink: I've changed the locale of my droid to Portuguese to test it, and it seems that your app goes crazy doing so. Language pairs installed before the change keep their English name, while the ones downloaded after it use the Portuguese name. So the app says that I have two language pairs installed, "basco -> espanhol" and "Basque -> English", and it considers that "basco" and "Basque" are different languages... |