https://github.com/nyavro/i18nplugin
Intellij idea i18next support plugin
https://github.com/nyavro/i18nplugin
annotations code-completion i18next intellij intellij-idea intellij-plugin json navigation quickfix vue-i18n yaml
Last synced: 3 months ago
JSON representation
Intellij idea i18next support plugin
- Host: GitHub
- URL: https://github.com/nyavro/i18nplugin
- Owner: nyavro
- License: mit
- Created: 2019-08-30T14:44:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T12:03:19.000Z (about 2 years ago)
- Last Synced: 2025-01-30T17:38:45.770Z (3 months ago)
- Topics: annotations, code-completion, i18next, intellij, intellij-idea, intellij-plugin, json, navigation, quickfix, vue-i18n, yaml
- Language: Kotlin
- Size: 4.22 MB
- Stars: 75
- Watchers: 4
- Forks: 12
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# i18nPlugin
[](https://app.codacy.com/manual/nyavro/i18nPlugin?utm_source=github.com&utm_medium=referral&utm_content=nyavro/i18nPlugin&utm_campaign=Badge_Grade_Dashboard)
[](https://codebeat.co/projects/github-com-nyavro-i18nplugin-master)
[](https://travis-ci.com/nyavro/i18nPlugin)
[](https://codeclimate.com/github/nyavro/i18nPlugin/maintainability)
[](https://codecov.io/gh/nyavro/i18nPlugin)
[](https://hitsofcode.com/view/github/nyavro/i18nPlugin)
[](https://plugins.jetbrains.com/plugin/12981-i18n-support)
Intellij idea i18next support plugin
## Features
### Annotations- Annotates correct i18n keys:

- Unresolved properties:

- As well as unresolved files:

- References to Json object:

- References to plural values:

- Missing translations
Gets turned on by 'Enable partially translated keys inspection' configuration option### Navigation
- I18nPlugin provides navigation from key to its declaration in Json resource

- and to partially resolved keys:

### Key extraction
- extract i18n translation from plain text
### Hints
- In the case of a single translation matching to given key the translation displayed as a hint (Ctrl + hover):

### Configuration options
(File->Tools->I18n plugin configuration)
- Default namespace
Configure up to 100 default namespace translation files.
Multiple default namespaces separated by comma, semicolon or whitespace:
first;second third,fourth
will resolve translations in files first.json, second.json, third.json, fourth.json
- Extract translation sorted by key
When set, key extracted in json or yaml file is inserted in sorted (by key) position
- Enable partially translated keys inspection
When set, warns when key exists in some translation files and is missing in another; suggests 'Create missing translations' quick fix- Vue
Enables vue-i18n support
- Support vue namespacesApplicable only with Vue setting. When set, considers first component of a translation key as 'namespace'.
For instance, key 'sample.xx.xx' will try to find translation inside the file 'sample.json/yml'.
## Frameworks & Libraries- Javascript & Typescript
- react-i18next
- Vue
- Vue Single File Components - supported annotations and code completion.
References navigation, hints - not supported because of Intellij IDEA platform limitations.
- Php