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
npx yc-i18n-gui
-
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
KEYSETS_DIR_PATH
- specify keyset directory;PORT
- on which port the server with the application will be launched; Default -3000
;
- 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