replace screenshots and optimize README
@ -15,7 +15,7 @@
|
|||||||
- Better focus keys in tree-view after edit
|
- Better focus keys in tree-view after edit
|
||||||
- Optimized internal data structure (io, cache, events)
|
- Optimized internal data structure (io, cache, events)
|
||||||
- Adjusted compatibility matrix to 2020.3 - 2021.3
|
- Adjusted compatibility matrix to 2020.3 - 2021.3
|
||||||
- Updated dependencies
|
- Updated dependencies and improved README file
|
||||||
|
|
||||||
## [1.5.1]
|
## [1.5.1]
|
||||||
### Fixed
|
### Fixed
|
||||||
|
41
README.md
@ -6,29 +6,40 @@
|
|||||||
[](https://paypal.me/marhalide)
|
[](https://paypal.me/marhalide)
|
||||||
|
|
||||||
<!-- Plugin description -->
|
<!-- Plugin description -->
|
||||||
This is an easy plugin to manage internationalization for JSON or Resource-Bundle(Properties) based locale files.
|
This is a plugin for easier management of translation files of projects that need to be translated into different languages. Translating large projects has never been so easy with your favorite IDE!
|
||||||
Most common use case is for translating Webapps or simple Java Applications. Translating large scale projects was never that easy with your favourite IDE!
|
|
||||||
|
|
||||||
## Use Cases
|
## Use Cases
|
||||||
- Webapps: For example [Vue](https://vuejs.org/) with [vue-i18n](https://kazupon.github.io/vue-i18n/) or any other JSON translation file based technology
|
- Webapps: [Vue](https://vuejs.org/) with [vue-i18n](https://kazupon.github.io/vue-i18n/), [React](https://reactjs.org/) or any other json based technology
|
||||||
- Java based Resource-Bundle
|
- Java projects based on Resource-Bundle's
|
||||||
|
- Projects that uses yaml, json or properties as locale file base for internationalization
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
- UI Tool Window with Table- and Tree-View representation
|
- UI Tool Window which supports tree- or table-view
|
||||||
- Easily Add / Edit / Delete translations
|
- Easily Add / Edit / Delete translations
|
||||||
- Filter / Search function to hide irrelevant keys
|
- Filter function with full-text-search support
|
||||||
- Key completion and annotation inside editor
|
- Editor Assistance: Key completion, annotation and referencing
|
||||||
|
- Key sorting and nesting can be configured
|
||||||
- Configurable locales directory & preferred locale for ui presentation
|
- Configurable locales directory & preferred locale for ui presentation
|
||||||
- Supports modularized (splitted) json files
|
- Missing language translations will be indicated red
|
||||||
- Translation keys with missing definition for any locale will be displayed red
|
- Quick actions: <kbd>right-click</kbd> or <kbd>DEL</kbd> to edit or delete a translation
|
||||||
- Quick edit any translation by right-click (IntelliJ Popup Action)
|
- Automatically reloads translation data if any locale file was changed
|
||||||
- Quick delete any translation via <kbd>DEL</kbd>-Key
|
|
||||||
<!-- Plugin description end -->
|
<!-- Plugin description end -->
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## Supported IO Strategies (locale files)
|
||||||
|
- Json: <kbd>json</kbd> files inside locales directory
|
||||||
|
- Namespaced Json: Multiple <kbd>json</kbd> files per locale directory
|
||||||
|
- Yaml: <kbd>yml</kbd> or <kbd>yaml</kbd> files inside locales directory
|
||||||
|
- Properties: <kbd>properties</kbd> files inside locales directory
|
||||||
|
|
||||||
|
If there are any files in the locales folder that should not be processed, they can be ignored with the <kbd>Translation file pattern</kbd> option.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
- Using IDE built-in plugin system:
|
- Using IDE built-in plugin system:
|
||||||
@ -46,7 +57,7 @@ Most common use case is for translating Webapps or simple Java Applications. Tra
|
|||||||
- Create a directory which will hold the locale files
|
- Create a directory which will hold the locale files
|
||||||
- Create a file for each required locale (e.g de.json, en.json) Note: Each json file must at least define an empty section (e.g. **{}**)
|
- Create a file for each required locale (e.g de.json, en.json) Note: Each json file must at least define an empty section (e.g. **{}**)
|
||||||
- Click on the **Settings** Action inside the EasyI18n Tool Window
|
- Click on the **Settings** Action inside the EasyI18n Tool Window
|
||||||
- Select the created directory (optional: define the preferred locale to view) and press Ok
|
- Select the created directory (optional: define the preferred locale to view) and press **Ok**
|
||||||
- Translations can now be created / edited or deleted
|
- Translations can now be created / edited or deleted
|
||||||
|
|
||||||
Examples for the configuration can be found in the [/example](https://github.com/marhali/easy-i18n/tree/main/example) folder.
|
Examples for the configuration can be found in the [/example](https://github.com/marhali/easy-i18n/tree/main/example) folder.
|
||||||
|
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 9.2 KiB |
BIN
example/images/key-annotation.PNG
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
example/images/key-completion.PNG
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
example/images/key-edit.PNG
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
example/images/settings.PNG
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
example/images/table-view.PNG
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
example/images/tree-view.PNG
Normal file
After Width: | Height: | Size: 11 KiB |