rajnandan1 / kener

Kener is a Modern Self hosted Status Page, batteries included
https://kener.ing/
MIT License
2.2k stars 83 forks source link

feat:Updated Chinese language to make it more reasonable. #75

Closed PearsSauce closed 2 months ago

PearsSauce commented 2 months ago

I updated the Chinese language to make it more reasonable. In addition, I tried to add the zh-CN subkey to the i18n item in the config/site.yaml file. After re-running the project, I tried to switch the language on the homepage and it did not take effect. Currently, only en.json and hi are effective. json. This is what I wrote:

i18n:
  defaultLocale: "en"
  locales:
    en: "English"
    hi: "Hindi"
    zh-CN: "中文"
rajnandan1 commented 2 months ago

@PearsSauce your file is _ and in site.yaml you have given - it should be same

Screenshot 2024-04-28 at 12 49 25 PM
rajnandan1 commented 2 months ago

I have updated it