TIM-JYU / TIM

TIM (The Interactive Material) is an open-source cloud-based platform for creating interactive learning documents.
https://tim.education/view/about/en-US
MIT License
13 stars 4 forks source link

CLI: Add cli command to init babel translation catalogs #3620

Closed saviit closed 4 months ago

saviit commented 4 months ago

Lisää CLI-komennon, jonka avulla on helpompi alustaa Babelin käännöskatalogi uusille kielille.

Käyttö: ./tim i18n init-lang <kielikoodi>

Kielikoodi annettava Babelin tukemassa muodossa (ISO 639-3 ja BCP 47, kts. https://cldr.unicode.org/index/cldr-spec/picking-the-right-language-code).