irimiab
09-13-2003, 06:14 AM
In a standard, menu-based application in BREW, I have the requirement to implement multiple language support. The settings menu should have a Language Select submenu which should allow the user to select another language. All the strings in the application should change as a result of that choice. The choice should also remain enabled after the user exits the application and then opens it afterwards. The solution is to have all the strings in a resource file. But what about another language ? Should I have another resource file for another language ? If the answer is Yes, then how can I change the resource file used, when the user selects another item in the language menu ?
Or the solution is to have each string in the resource file written three times, and in the application I make the selection of the string with an IF clause or something ? This ideea is not so agreable for me because the application can have many string resources loaded and the effort to select each string is quite nasty :)
Is there another way to do it ? I prefer the simpliest solution, because the application is in an advanced state and multiple changes take precious time.
Thank you very much ! ;)
Or the solution is to have each string in the resource file written three times, and in the application I make the selection of the string with an IF clause or something ? This ideea is not so agreable for me because the application can have many string resources loaded and the effort to select each string is quite nasty :)
Is there another way to do it ? I prefer the simpliest solution, because the application is in an advanced state and multiple changes take precious time.
Thank you very much ! ;)