0

I am working on a localized project where it is important for me to display text in local language eg: Hindi, tamil, etc. I didn't had any problem in displaying the language in label, textfield, combo, etc using this comboDistrict.setFont(new Font("Kruti Dev 010", Font.BOLD, 17)); i have text coming from database which i need to show in message dialog. but i don't know how can i do the same in message dialog!

Please let me know the way to do this. Thanx :)

Roshan
  • 645
  • 1
  • 11
  • 36
  • If you use **eclipse** for developing, you can use default menu `Externalize Strings`. Or watch this [Internationalization](http://docs.oracle.com/javase/tutorial/i18n/intro/index.html) – alex2410 Nov 06 '13 at 09:28
  • ok. this is a good way, but i think this will not help me much, becuase the text i want to display is coming from the database. – Roshan Nov 06 '13 at 09:35
  • You can try to localize values in your database. Maybe it can help you [SO question](http://stackoverflow.com/questions/316780/schema-for-a-multilanguage-database) – alex2410 Nov 06 '13 at 09:39
  • To change the font, globally, you should take a look at the UIManager – MadProgrammer Nov 06 '13 at 10:15

1 Answers1

0

your answer Internationalization and Localization
look here

it may be use what you expecting.

subash
  • 3,116
  • 3
  • 18
  • 22