Localize all non-dynamic text
Localize non-dynamic text using the same localizations as the Pebble Store. Add translations for the following locales based on the legacy store translations:
- [ ] de_DE
- [ ] en_US
- [ ] es_ES
- [ ] fr_FR
- [ ] nl_NL
- [ ] pl_PL
- [ ] zh_CN
- [ ] ZH_TW
Related tasks:
- [ ] Add locale to route (
/en_US/faces) - [ ] Detect locale from browser (or check if its already stored in local-storage) if user navigated to root (without specifying a locale)
Do y'all already use an i18n solution or would a choice need to be made for that as well?
That's a choice that still needs to be made.
I made a POC PR here: https://github.com/pebble-dev/rebble-store/pull/167. It's rough but should be a decent example of how translations could fold into the existing single file components using vue-i18n.
Open to any and all suggestions.
As an aside, in the old pebble store was there a dropdown of available locales? I don't remember at all... Just trying to figure out what the locale setting choices would be.