Skip to content

simplelocalize/intellij-i18n-plugin

 
 

Repository files navigation

i18nPlugin

Codacy Badge codebeat badge Build Status Maintainability codecov Hits-of-Code

Downloads Badge

Intellij idea i18next support plugin

Features

Annotations

  • Annotates correct i18n keys:

    Simple annotation

  • Unresolved properties:

    Annotates unresolved part of the key

  • As well as unresolved files:

    Unresolved json file

  • References to Json object:

    Reference to Json object

  • References to plural values:

    Reference to plural value

  • 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

    Navigation from key to translation

  • and to partially resolved keys:

    Navigation from partially resolved

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):

    Single translatin hint

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

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

About

Intellij idea i18next support plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 93.8%
  • JavaScript 2.7%
  • Vue 1.4%
  • TypeScript 1.2%
  • PHP 0.9%