@jimengio/locales-editor
v0.2.26
Published
Cumulo Workflow
Downloads
80
Readme
Locales Editor
A tiny tool to for generating locales.
Usage
yarn global add @jimengio/locales-editor
open http://fe.jimu.io/locales-editor/
locales-editor # in the folder contains locales.edn
locales.edn
is the snapshot defined in our own project
To perform file generation only:
op=compile locales-editor
To skip generating zh.ts
and en.ts
:
typesOnly=true locales-editor
Translation
Current translation is using https://ai.youdao.com/docs/doc-trans-api.s#p08
Add :app-id
and :app-secret
are filled in :settings
.
Workflow
https://github.com/Cumulo/cumulo-workflow
License
MIT