replace screenshots and optimize README

This commit is contained in:
Marcel Haßlinger 2021-11-11 17:30:15 +01:00
parent 432a9efdef
commit 351fce1667
11 changed files with 29 additions and 18 deletions

View File

@ -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

View File

@ -6,29 +6,40 @@
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/marhalide) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](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
- Configurable locales directory & preferred locale for ui presentation - Key sorting and nesting can be configured
- Supports modularized (splitted) json files - Configurable locales directory & preferred locale for ui presentation
- Translation keys with missing definition for any locale will be displayed red - Missing language translations will be indicated red
- Quick edit any translation by right-click (IntelliJ Popup Action) - Quick actions: <kbd>right-click</kbd> or <kbd>DEL</kbd> to edit or delete a translation
- Quick delete any translation via <kbd>DEL</kbd>-Key - Automatically reloads translation data if any locale file was changed
<!-- Plugin description end --> <!-- Plugin description end -->
## Screenshots ## Screenshots
![Tree View](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/TreeView.PNG "Tree View") ![Tree View](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/tree-view.PNG)
![Table View](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/TableView.PNG "Table View") ![TableView](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/table-view.PNG)
![Key Completion](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/Completion.PNG "Key Completion") ![KeyCompletion](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/key-completion.PNG)
![KeyAnnotation](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/key-annotation.PNG)
![KeyEdit](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/key-edit.PNG)
![Settings](https://raw.githubusercontent.com/marhali/easy-i18n/main/example/images/settings.PNG)
## 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:
@ -45,8 +56,8 @@ Most common use case is for translating Webapps or simple Java Applications. Tra
- Install plugin. See **Installation** section - Install plugin. See **Installation** section
- 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 Easy I18n 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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
example/images/key-edit.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
example/images/settings.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB