Compressed in one short sentence:
as far as i can see localisation support in android is pretty shitty...
I tried to write my own localisation classes and although they work i feel very uncomfortable with them.
One of the main issues is, that you have to declare the strings static and final:
so you cannot influence them once they have been created...that sucks.
As a result one has to write a class for every language one wants to support.
So..i created a file called "Localisation.java" with all the Strings and languages i'd like to support.
then i can import this file to the package wher i want to use it:
so far so good...
the problem is that i have to check which language the user has chosen on EVERY SINGLE STRING i want to use from my "Localisatin.java" file
this leads to smth like this:
and thats i have to say kinda horrific...it makes my hair stand up...
So if anyone has a suggestion for me about how to make it work better/smoother please let me know.
I would also be glad if anyone could tell me if there is a localisation support in android already integretade that i have overseen or if somethin alike is planned for a future sdk.
regards shiteiru している