Internationalization in Tamil

I am currently working on internationalization in swing application.

How to Use Tamil in Java internationalization.

Whether I have to install any tamil font and add font.properties.ta file in jdk.

How to convert english to tamil unicode ?.

Where I have to download all those things?

I would appreciate if any of u know some useful links regarding this

Thanks

[402 byte] By [JoeBorlanda] at [2007-11-26 15:57:50]
# 1

>>How to convert english to tamil unicode ?.

You do not "convert" English to Tamil, you translate - or rather, you hire a translator to perform the language translation. And you need to provide the translatable text in separate resource bundles (either ListResourceBundles or PropertyResourceBundles).

The Java internationalization page is a good starting point if you have no idea what you should be doing to support more than one language: http://java.sun.com/javase/technologies/core/basic/intl/

one_danea at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 2

Thanks for ur quick reply.

Hi I already worked on English to Chinese conversion. In this i convert english to chinese simplified text and then convert chinese simplified text to unicode. This unicode is placed in property file which is a input of our java file.

Shall i follow the same process?

Please give a sample of property file which contains text "Welcome" in English to convert into Tamil.

Please provide a solution..

Thanks

JoeBorlanda at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 3

If you have already implemented a Chinese translation, what is it about a adding a new language that you don't understand?

Why would the process be different for any specific language?

I suggest again that you go do some research and reading about localization/internationalization of Java applications.

one_danea at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 4

Hi I am having unicode for tamil characters.(0B99 for O in Tamil)

The same can be read from property file.

But my swing application dosenot display tamil characters. It display box like character

Whether I have to change in Regional Options ? or any specifc font to be included?

Please provide a solution

Thanks

JoeBorlanda at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 5

OK, so you have a specific problem - that's much easier to address than just "give me a solution".

It sounds as if you have a font problem (getting 'boxes' instead of the real characters is almost always a font issue). And it sounds as if you can see Tamil characters on your system outside of your Java application, which seems to indicate a specific problem with Java not picking up the correct font.

Take a look at the FAQs concerning text rendering and fonts here:

http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp

one_danea at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 6
Hi JoeBorland ,I want to deploy a java application in marathi. Can you please send tamil files.
jalagamvenkata at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 7

hai one_dane

Thanks for giving useful informations.

I gone through the link which given by u.

I have some doubt regard this..Is there anyway to display Tamil text in swing application without giving textbox.setFont("Amutham"). Bcoz as i mentioned in the previous posts, i want to do internationalization in Java language. My GUI will display menu in Tamil language.

But now my GUI display only box like characters.

U mentioned that there is a font problem. So I searched the topic "Enabled Writing Systems for Java Foundation Classes". It gives list of languages which support,in this I didnt found tamil language. My jdk version is 1.5. Which version of java supports tamil language?

How can I do internationationalization in Java for displaying in text in Tamil characters?

Please give a solution.

Any help regard this is highly appreciated

Thanks

JoeBorlanda at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 8

Yes, I understand you want to use Java - this is a Java forum.

I agree that the Sun web site you quote would appear to give the impression that you cannot use Tamil in a Swing application, but I don't believe that is the case. I just implemented a small Swing app where I display Tamil text, and the only thing I needed to do to get that to work was to copy a font that supports Tamil to the jre fonts/fallback directory - as explained here:

http://weblogs.java.net/blog/joconner/archive/2006/09/internationaliz.html

I get Tamil characters to display, and they look correct to me (note: I have not hardcoded any font information, I simply let the code pick an appropriate font).

one_danea at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 9
Thanks One_dane I am able to display tamil characters in my swing application as suggested by u like creating falback directory under jdk/jre/lib/fonts/fallback and paste the latha.ttf font in that directory.Thanks for ur valuable informations
JoeBorlanda at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...
# 10

I had same problem and created the folder and put the font as instructed on the link. Now Its working. But the problem is that I had 3 version of 3 java installations. when a new java update released

and if I try to update it, Java installed as new installation. Who to avoid it? So I don't have to create the folder and copy & paste the font everytime java release update.

Thanks in advance for your time

sshana at 2007-7-8 22:18:48 > top of Java-index,Desktop,I18N...