website icon indicating copy to clipboard operation
website copied to clipboard

Add a CI to check whether the corresponding translations has been generated

Open Shelley-BaoYue opened this issue 1 year ago • 5 comments

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 and git status to check if any new changes occurs.

Shelley-BaoYue avatar Dec 12 '23 08:12 Shelley-BaoYue

/help wanted

Shelley-BaoYue avatar Dec 12 '23 09:12 Shelley-BaoYue

/assign

shashank-iitbhu avatar Jan 03 '24 18:01 shashank-iitbhu

/assign

Welcome! Feel free to communicate here if you have any questions. 😄

Shelley-BaoYue avatar Jan 04 '24 12:01 Shelley-BaoYue

Hi @shashank-iitbhu are you still on the ticket since i would like to give it a try

YashPimple avatar Feb 04 '24 17:02 YashPimple

/assign

YashPimple avatar Feb 09 '24 14:02 YashPimple