Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n for charites CLI itself #87

Open
JinIgarashi opened this issue Jan 12, 2022 · 2 comments
Open

i18n for charites CLI itself #87

JinIgarashi opened this issue Jan 12, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@JinIgarashi
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, charites's CLI only has English interface. It might be difficult for other languages' users to use charites even though we have implemented i18n for documentation.

Describe the solution you'd like
Introduce i18n together with transifex.
We may be able to use transifex-javascript packages though I am not so sure transifex with Javascript. This NPM packages look like good.

@JinIgarashi JinIgarashi added the enhancement New feature or request label Jan 12, 2022
@JinIgarashi
Copy link
Member Author

メモ

transifex-javascriptで翻訳対象の文章をt()で囲んだ上で、txjs-cliでpushすると、翻訳対象の文を抽出してTransifexにプッシュするらしい。おそらく翻訳された後は毎回Transifexから取得してくる感じで、Sphinxみたいに翻訳後のファイルをローカルに保持しておくことはできないらしい。
なんかコマンドラインに入れるには微妙なので、もうちょっと実装方法を考えないといけないかもしれない。

@JinIgarashi JinIgarashi self-assigned this Jan 16, 2022
@JinIgarashi
Copy link
Member Author

Transifexでどんどん言語追加できるのが一番理想だけど、ひとまず多言語化するだけなら、

https://github.com/mashpie/i18n-node

とかあった。もうちょいライブラリのリサーチが必要

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant