This is a plugin for easier management of translation files for projects that need to be translated into different languages. Translating large projects has never been so easy with your favorite IDE!
This plugin can be used for any project based on one of the formats and structures listed below.
- UI Tool-Window which supports tree-view and table-view
- Easily
Add
/Edit
/Delete
translations - Filter all translations with full-text-search support
- Editor Assistance: Key completion, annotation and referencing
- Translation key sorting and nesting can be configured
- Configurable locales directory & preferred locale for ui presentation
- Missing language translations will be indicated red
- Automatically reloads translation data if any locale file was changed
JSON - YAML - Properties
- Single Directory: All translation files are within one directory
- Modularized (Locale \ Namespace)
- Modularized (Namespace \ Locale)
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "easy-i18n" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Install plugin. See Installation section
- Create a directory that will contain all translation files
- Create your individual translation files (e.g. en.json, de.json). See examples if you need assistance.
- Click on the
Settings
action inside the EasyI18n Tool-Window (View > Tool Windows > Easy I18n) - Specify locales directory
- Select folder structure and file parser to apply to your translation files
- Translations can now be created / edited or deleted
For more examples, please refer to the Examples Directory.
- JSON5 Support
- XML Support
- Mark duplicate translation values
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Marcel Haßlinger - @marhali_de - Portfolio Website
Project Link: https://github.com/marhali/easy-i18n
If the project helps you to reduce development time, you can give me a cup of coffee :)
Plugin based on the IntelliJ Platform Plugin Template.