astrowind icon indicating copy to clipboard operation
astrowind copied to clipboard

A language switching button for i18n

Open ax-6 opened this issue 1 year ago • 2 comments

ax-6 avatar Jul 05 '24 03:07 ax-6

Since I don't know much about the design of this project, I can't make it possible to write the contents of this select to the config, and if I want to use this select in a production environment, I may need to make further modifications.

ax-6 avatar Jul 05 '24 03:07 ax-6

Currently, my website (www.axa6.com) is built based on this project, and since I wasn't able to find anything about i18n, I had to realise it by making several of the same system, but since each language adds to the build time, I'd like to ask if there's a way to do it instead. P.S. This is the project address on my website, maybe you can have some different references: https://github.com/aq-org/aq-website , and if possible, adding better i18n support might be better for Astrowind project.

ax-6 avatar Jul 05 '24 03:07 ax-6

Hi @ax-6

I was reviewing this PR and your project.

I feel that the PR code specifically here in this version of AstroWind does not make sense just like that because it would add an i18n expectation that will not be resolved later. In your project you managed to implement that very well and using the contentful cms but here we don't have an easy way to add i18n and just a bar could generate confusion.

Certainly in the next version of AstroWind 2.x we will add features to make it easy to activate i18n.

Thanks anyway and we'll close this PR for the moment.

prototypa avatar Aug 28 '24 03:08 prototypa