MrGreensWorkshop/MrGreen-JekyllTheme

Giscus is not working on Chinese language blog post pages

Closed this issue · 1 comments

Please check these items before go any further

  • I have watched Mr. Green theme tutorials playlist on YouTube.
  • I have searched the existing Issues.
  • I have searched the existing Discussions.
  • I have checked jekyll docs and the answer was not there.
  • I have tested in one of these browsers; Safari, Chrome, Firefox. (This project hasn't been tested in other browsers.)

Are you sure this is a bug?

  • I'm sure this is definitely a bug.

Describe the bug

Giscus is not working on Chinese language blog post pages
Screenshot 2024-07-19 at 11 12 56

Expected Behavior

Giscus should be work on Chinese blog post pages.

Steps To Reproduce

  1. Setup Giscus
  2. Compile demo project
  3. Open any blog post page
  4. check if it is working.

Which browser have you used?

  • Chrome
  • Safari
  • Firefox
  • Other browsers (This project hasn't been tested in other browsers.)

Which device have you used?

  • Desktop
  • Mobile IOS
  • Mobile Android
  • Other platforms (This project hasn't been tested in other devices.)

Anything else?

According to Giscus, "zh" should be used with country "zh-CN"
https://github.com/giscus/giscus/tree/main/locales

fixed with #230.