Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java program support multiple languages

Tags:

java

how can i make java program working with multiple languages (frensh, english , arabic .. etc) , i mean i wanna make a comboBox ,when i choose one language, all the labels in the GUI interfaces change to the selected language and even the stdin also change to that language.

thanx in advance Alaa

like image 877
palAlaa Avatar asked Apr 28 '26 09:04

palAlaa


1 Answers

I think you're talking about ResourceBundles with the GUI interface labels.

https://docs.oracle.com/javase/tutorial/i18n/resbundle/concept.html

As for the input changing, it's been asked already:

Changing Keyboard Input language in Java

like image 161
Phil Avatar answered Apr 29 '26 23:04

Phil