rebble-store icon indicating copy to clipboard operation
rebble-store copied to clipboard

Localize all non-dynamic text

Open sGerli opened this issue 7 years ago • 3 comments

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)

sGerli avatar Jun 22 '18 15:06 sGerli

Do y'all already use an i18n solution or would a choice need to be made for that as well?

mhelmetag avatar Aug 20 '20 21:08 mhelmetag

That's a choice that still needs to be made.

sGerli avatar Aug 28 '20 00:08 sGerli

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.

mhelmetag avatar Sep 01 '20 07:09 mhelmetag