Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Easy Editing ResourceBundle Property Files in IntelliJ IDEA

DZone's Guide to

Easy Editing ResourceBundle Property Files in IntelliJ IDEA

· Java Zone
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

We can add a resourcebundle property file to our application to support internationalization (i18n). The file contains key-value pairs where the value is a localized value per supported language or locale. In IntelliJ IDEA we can easily see which keys are not yet translated. We open a resourcebundle property file and click on the ResourceBundle tab at the bottom of the editor. We get a list of all available keys on the left and on the right a text area per supported language with the translated values. If a key is not translated for all supported languages it will be colored in red. We only have to select the keys in red and fill in the values on the right for the given languages.

Sample with IntelliJ IDEA 13.1.1

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Published at DZone with permission of Hubert Klein Ikkink, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}