This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Need help to support in multiple languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Need help to support in multiple languages" Watch "Need help to support in multiple languages" New topic

Need help to support in multiple languages

Ashwin venkatesh

Joined: Oct 16, 2006
Posts: 7
Hi All,

I have a Midlet application which is working fine with English as its default language, now i want the same application to support with multiple languages. ex: if it is deployed in germany it should support german lang and french in france and so on. please help me in solving this issue at the earliest.
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Well, you have a few options, it looks like.

There is JSR-238 - the internationalization API for Java ME - which I can only find a few references to support on devices with. (J2ME Polish's site only shows one phone - Siemens SL75 - supporting it in their database.)

You could also detect the locale and load in appropriate strings from a file in the resource directory (similar to how you'd handle it in Java SE).

Hope that helps!

Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
I agree. Here's the link:
subject: Need help to support in multiple languages
It's not a secret anymore!