08-21-2008 04:38 AM
Hi
I have several .rrc files in my project and they are working fine to traslate the text but i need to search one key in all .rrc files to see if one the text is in any of the languages that i have, How can i do that? its possible?
Example i want to see if the text "Favourites" exist in one of all rrc and i have the next key values in the different .rrc
Country_en.rrc
Favourites Favourites
Country_es.rrc
Favourites Favoritos
Country_fr.rrc
Favourites Favoris
thanks
08-21-2008 10:16 AM
08-22-2008 02:26 AM
I think that i have no explain very well, my intention is to do that in source code in a loop.
thanks
08-22-2008 09:06 AM
There is no direct way to do this. You could use Local.setDefault method to change the local (language) and request the value for your key.
Please note that you can only change to a local that is present on the BlackBerry. So, for example, if the user doesn't have French language support installed, you can't switch to a French locale.