How are those i18n yaml files generated?

Viewed 289

These: https://github.com/apache/incubator-answer/tree/main/i18n

Are they automatically generated from codes or written maunally? I can't find any related documentation so far.


Update: If I edit the en_US.yaml (as @shuai mentioned), how are the changes reflected on other yamls automatically?

en_US is written manually. in other languages are generated based on en_US.

Thanks! How are those yamls in other languages generated?

1 Answers

how are the changes reflected on other yamls automatically?

We use crowdin to manage translations, you can check out the rules at crowdin, and when you make changes to en_US, they are automatically synchronized to the other language files, but note that this is just a synchronization, and other contributors are still needed to complete the translation.

Usually we will synchronize the content on crowdin before the version is released.

Thanks! I think this information could be added into https://answer.apache.org/community/translation. It's a bit confusing for new comers. Because they don't know how to translate before a change of en_US is merged.