Add a CI to check whether the corresponding translations has been generated #489
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Is your feature request related to a problem? Please describe.
When we do any changes in website pages, we need to use
yarn write-translations --locale zh
to generate the Chinese version. However, sometimes we may ignore this step or manually add it, which does not correspond to the English version.Describe the solution you'd like
Add a CI to check whether the corresponding Chinese translation version is generated, mainly including the following files: https://github.com/kubeedge/website/blob/master/i18n/zh/code.json. https://github.com/kubeedge/website/blob/master/i18n/zh/docusaurus-theme-classic/navbar.json and etc.
We can run
yarn write-translations --locale zh
in CI andgit status
to check if any new changes occurs.The text was updated successfully, but these errors were encountered: