Way to Support of multiple language in J2ME???????

Hi to all experts,

I would like to ask what i need to do and know in order to support multiple language in J2ME.

Am i going to use unicode to do this. But from what i read, unicode seem like intrenatinalization and localization and not used to suport multiple language.

Please Guide me and show me some useful URL and fact.

Thank you.

PS: i already have some basic understand on J2ME
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 Java is by default unicode so it should support any language you write your software on.

  What exactly is the problem?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tat83Author Commented:
I am developing my final project. That is a mobile phone application.

I would like to target my application to different race. Therefore, it should have more than 1 language selection to be selected to be dispaly to the user. For example, the user can select either Malay, English, Thai, India and etc.

Then the application will display appropriate language.

My question is how can i do this? I know of course i cannot hard code the application. But how should i begin or do to achieve this objective.

So, any one have any idea on my question?
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

tat83Author Commented:
to jimmack:
I  will reaad ur URL later
Thank you.
If there is a lot of text (say more than a couple of K), then I would suggest that you create several jar/jar combinations in order to keep the size down.  Check at download time check the microedition-locale request header to determine which jar to return to the user.

If you have a small amount of text (or you have to store it in a single jar/jar), then you should create a file storing the text that you need.  Put this file in the "res" directory under the wtk/apps/<myproject> directory.  This will then be included in your jar file when you build.  Ideally, you want to save this file as a binary file (again to minimise the space it takes).

Have a look at the documentation for Image.createImage(String) for a clue on how to access the file from within the MIDlet ;-)
tat83Author Commented:
thank you to all

But i have another question that is Can i also include chinese word in it?

If so, How?

Just simply type the chinese word in the Messages_ch_CH.properties file? Or there is another way.

I actually have not try the code and run it. I just interpret using my knowledge. So i may return to u all any time.

Thank you.

> Just simply type the chinese word in the Messages_ch_CH.properties file? Or there is another way

  Yes this should work. Using Chinese should be exactly like using any other language.
tat83Author Commented:
Thank you to girionis and jimmack

i think i already know how to do it(hopefully).

So it is time to give my points as a reward to  girionis and jimmack.

If i have any problem i will always return to here.So i hope u all will help me again.

Thank you again.
Here's a link I found.  I don't know if it helps or not, but it might be worth a look:

tat83Author Commented:
1 question I forgotten to ask

Where can i download all the phone emulator like nokia, motorola,siemen and etc?

Cause i would like to test my application using different emulator.

Thank you
 Thanks for the points. Glad we have helped :)
Sorry, I got interrupted before I could finish that last comment properly ;-)

You might need to register (usually free) to get access to the tool downloads.
tat83Author Commented:
Thank you again
tat83Author Commented:
Sorry to ask for help again.

I have face problems with importing the java.util.Locale and ResourceBundle.

It said that no class found.

Is that J2ME do not support these classes.

If i can't use the above class, how can i implement multiple language in my application.

Thank you in advance.
tat83Author Commented:
sorry, the error is "Cannot resolve sysmbol" and not no class found.
Not sure if they are part of the J2ME architecture but you can always write your own classes to handle localization for you: http://java.sun.com/developer/J2METechTips/2001/tt0129.html
tat83Author Commented:
thank you for ur url.
i have also just found the link and other relevant url. I will look at it.

I will always return to here, if i have problems.

thank you.
tat83Author Commented:
Hi there,

Sorry to interrupt again, i just want to know is the customitem is a high level UI components or low UI?

And the demo on the wireless Toolkit
(UIdemo->CustomItem) ,This demo is using high level UI or low level UI (especially the table class)?

Thank you in advance.
A bit of both really ;-)

A CustomItem can be regarded as a high level UI component because it can be added to a Form (rather than managed using primitives on a Canvas).  However, the implementation of a CustomItem (in this case the Table item) uses the primitive (low level UI) operations in order to display itself.
tat83Author Commented:

Then what is the usage of a customitem?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.