@jimengio/locales-editor

0.2.26 • Public • Published

Locales Editor

A tiny tool to for generating locales.

Usage

npm

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

/@jimengio/locales-editor/

    Package Sidebar

    Install

    npm i @jimengio/locales-editor

    Weekly Downloads

    2

    Version

    0.2.26

    License

    MIT

    Unpacked Size

    1.18 MB

    Total Files

    7

    Last publish

    Collaborators

    • imzshh
    • jiyinyiyong
    • rebirth