Skip to content

IsaevAlexandr/yc-i18n-gui

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published