How to Add Bilingual Support (English and Chinese) to jekyll-theme-chirpy?

The jekyll-theme-chirpy project address on GitHubI want my blog content to be able to switch languages

Hello Jekyll Community,

First, I would like to thank the incredible developer [cotes2020] for creating the outstanding jekyll-theme-chirpy. It is by far one of the most well-designed and visually stunning themes I have ever used. Its code is clean, efficient, and highly modular, making it a joy to work with.

I’m currently using this theme for my blog, and it’s working perfectly. However, I encountered a small challenge: I would like to set up a bilingual mode to support both English and Chinese readers. While researching, I noticed that some other themes, such as this one ([jekyll-i18n], have implemented internationalization (i18n) features to facilitate multilingual support.

I love jekyll-theme-chirpy and would prefer to continue using it. I was wondering if anyone in the Jekyll community has experience in:

  1. Adding i18n or multilingual support to an existing Jekyll theme.

  2. Adapting jekyll-theme-chirpy for bilingual use.

If there are any best practices, plugins, or coding techniques that could make this possible, I’d greatly appreciate your guidance.

Thanks in advance for your help, and I hope this discussion can also benefit others looking to achieve similar functionality.

Best regards,

Xu Young

I’d recommend taking a look at the polyglot plugin.