File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes many language how to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "many language how to?" Watch "many language how to?" New topic
Author

many language how to?

senu shankar
Greenhorn

Joined: Feb 19, 2004
Posts: 3
Hi,
I have English , Chinese, Japanese and Hindi on my mobile phone. I want to use an application in Tamil (it is an Indian language). How to implement this? Do I have to load tamil ttf font in resource folder and then use unicode? Or do I have to use some other form of ttf? Pl help resolve this.
thanks In advance.
senu shankar
Greenhorn

Joined: Feb 19, 2004
Posts: 3
doesn't any body know? Strange. Experts on board? Hasn't ANYONE developed a foriegn langauge midlets?
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
If your phone doesn't support Tamil natively (e.g., you can't switch the menus to use Tamil), then it won't support Tamil in MIDlet UI components either. In this case, you could still display Tamil characters in a MIDlet by including the font as a PNG image file in the MIDlet's JAR file and drawing the characters on a MIDP 'Canvas' (use a clip window to make only the needed character get drawn). However, entering text in Tamil would probably be very clumsy.
If the phone does support Tamil natively, then your MIDlet should just automatically work in Tamil too. Java language characters and Strings all use Unicode, so a MIDlet should work in Tamil without modification: just use Tamil characters for all the messages you display, and e.g. TextFields will use Tamil for input. If your messages are in your Java source code and that source code is in ASCII or ISO-8859-1, you'll have to represent the Tamil characters using Java's Unicode escape sequences, e.g.: '\u01C9'.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: many language how to?
 
Similar Threads
Validating other language chars
Including fonts in PDFs using iText
J2ME adding new fonts
In English LOVE, In French ?
localization doubt