简体   繁体   中英

Change the language of application using ResourceBundle

I'm building a internationalized application based of Java using Netbeans IDE, I´m trying to change the language of my frames using a combobox located in a singular frame, but I cant make the code for do that, can any help me?

The combobox contains a some Objects with a Local value identifier. I want to take this value and change the Locale of the frames, then change the languages of the Frames.

I tried to change the base Local, but that does not work. What do I do?

First you need to making your application i18n ready. Then you need to use resource bundles for localization. Read this tutorial end to end.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM