swellstores / horizon

Headless NextJS storefront starter powered by Swell
https://swell-horizon-demo.vercel.app/
MIT License
58 stars 52 forks source link

Feat: add language settings #24

Closed alextutii closed 1 year ago

alextutii commented 1 year ago

This PR is centered around implementation of language settings throughout the theme.

Because we need to support live changes from the editor in the same way as for the other theme settings, the language settings are located in the settings store under the .lang namespace. I18n libraries were considered for this, but making live changes to the language settings can't be implemented that way unless we store the settings in a store, which would make the library redundant.

Changes:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
swell-horizon-github ✅ Ready (Inspect) Visit Preview Jan 13, 2023 at 9:44AM (UTC)