Is there any way to include the support for multiple languag
3 posters
Page 1 of 1
Is there any way to include the support for multiple languag
Hi.
I have built a J2ME app and now i want to include the multi-language support in the application. One way to do is to declare the final Strings in the application and let the user choose the language and depending upon the choice show the corresponding strings.
Is there any API in J2ME which does this process depending upon the location where the app is downloaded?
Thanks..
Adeesh Jain
I have built a J2ME app and now i want to include the multi-language support in the application. One way to do is to declare the final Strings in the application and let the user choose the language and depending upon the choice show the corresponding strings.
Is there any API in J2ME which does this process depending upon the location where the app is downloaded?
Thanks..
Adeesh Jain
Adeesh- Posts : 10
Join date : 2007-09-11
Re: Is there any way to include the support for multiple languag
Adeesh wrote:Hi.
I have built a J2ME app and now i want to include the multi-language support in the application. One way to do is to declare the final Strings in the application and let the user choose the language and depending upon the choice show the corresponding strings.
Is there any API in J2ME which does this process depending upon the location where the app is downloaded?
Thanks..
Adeesh Jain
Hi Adeesh,
Using following way you can implement multilanguage support in j2me :-
1) Keep all the strings of one language in one file and the name of the file as the name of the language.
2) Now you can keep these files in the resources or you can keep few files in the resources and if in future your application start supporting some new language then you can also fetch that file from the server. In that case also the name of the file tells you the name of the languange and it contains the string that you will use.
I hope this will work for you. For more queries feel free to contact me.
thanks
Nishtha.
Re: Is there any way to include the support for multiple languag
If the strings are relatively less, one may choose to keep them in jad. Then genereta the jad on the fly and include the strings in corresponding lanuguage based on "User-Agent" header in the request.
Guantana.
Guantana.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|