• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

internationalization In Java

 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As We know Java is providing support for internalization. But in that we have to provide different Language Database which we have to create by our own is their any way where we don't have to create that Language Database. If i write some code and it automatically convert that in Particular language which i want ?If any one knows about it then please help me .


Thank You In Advance



 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When do you mean by Language Database ? Property files are usually used, not databases.
 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I m saying that only Database in terms of Properties files. We have to create .Properties Files for each and every language that thing i want to customize .
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, that's not a database then Yes, you have to create a properties file for each language you want to support. The correct file will be picked up according to the Locale settings. Check the Sun tutorial.
 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that but is their any really available API. Which can work for me So i don't have to create .properties Files.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Keeping text outside of the code has many advantages; why would you want to use an API instead of using properties files?

(By the way, it's called "internationalization", not "internalization". But you may want to use the widely understood form "I18N" instead.)
 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Web Development Google Is providing API I am talking about it is their any other API available
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Google API would that be?
 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's Google language Translator in which i don't have to make any .property files to convert it to any language
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you're not actually talking about I18N, you're asking about how to provide in-application translation for certain words and phrases? If so, then "language translator" sounds pretty much on target; does it not do what you're after?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic