1.1.0 • Published 2 years ago
yc-i18n-gui v1.1.0
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
Quick start:
npx yc-i18n-gui
Usage as a project dependency
add package as a dev-dependency
npm i -D yc-i18n-gui
add script in
package.json
:{ ... "scripts": { ... + "yc-i18n-gui": "KEYSETS_DIR_PATH=src/keysets npm run yc-i18n-gui" } }
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 supportshttp
connections, for exampleFirefox