IntelliJ IDEA 2021.2 Help

Internationalization and localization

Internationalization (i18n) refers to the process of extracting strings from source code and presenting them as properties with a set of values.

Localization (l10n) is the process of translating values of these properties into target languages.

Keys and values for the target languages are stored in dedicated properties files, which can be combined into a resource bundle for convenience. IntelliJ IDEA can recognize hard-coded string literals in Java code and suggest to extract them into the corresponding properties files.

Install the Resource Bundle Editor plugin

Install the Resource Bundle Editor plugin to be able to work with properties:

  1. In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.

  2. Switch to the Marketplace tab and type Resource Bundle Editor in the search bar.

  3. Click Install next to the plugin name, apply the changes and close the dialog.

Last modified: 26 August 2021