1.1.0 • Published 2 years ago

yc-i18n-gui v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

yc-i18n-gui

Graphical user interface for editing i18n files. The main use is assumed with https://github.com/yandex-cloud/i18n.

It is a tool for local editing files through the file system adapter. With certain modifications (db adapter), it can be used as a standalone client-server application

gui-example

result-example

Quick start:

npx yc-i18n-gui

Usage as a project dependency

  1. add package as a dev-dependency

    npm i -D yc-i18n-gui
  2. add script in package.json:

    {
    ...
         "scripts": {
             ...
    +        "yc-i18n-gui": "KEYSETS_DIR_PATH=src/keysets npm run yc-i18n-gui"
         }
    }
  3. run script:

    npm run yc-i18n-gui

Env variables:

  • KEYSETS_DIR_PATH - specify keyset directory;
  • PORT - on which port the server with the application will be launched; Default - 3000;

Hint:

  • If you use a dev-server for development with configured nginx, after launching, the application will be available on http://<you-dev-server-host>:<PORT>. Just open it in a browser that supports http connections, for example Firefox
1.1.0

2 years ago

1.0.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago