chrismwilliams / astro-theme-cactus

A simple Astro theme. Use it to create your blog or website.
https://astro-cactus.chriswilliams.dev/
MIT License
840 stars 128 forks source link

Feature Request: support i18n #42

Open noyyyy opened 1 year ago

noyyyy commented 1 year ago

i18n is a necessary feature when you want to write blogs for multi-language users. There are some i18n packages such as astro-i18n and astro-i18next. Both of them can not be used directly.

So I hope this theme can support i18n directly. From my view, nextra i18n is a nice paradigm as it inserts language between the file name and suffix.

chrismwilliams commented 1 year ago

Hi @noyyyy, yep you are right. I would love to add i18n support but unfortunately I don't have the capacity to do so, and it would require a lot of help from the community to get it right, which may or not be willing.

I'm open for any help so if you or anyone reading this could push this along that would be great.

noyyyy commented 1 year ago

Thanks, @chrismwilliams. Originally I was going to try to submit a pr but I find it harder than I imagine, as I'm not familiar with astro and code i18n. I would have a try on this and sync progress here. In the meanwhile, anyone is welcome to do it.