limlabs / saleor-storefront-starter

https://saleor-storefront-starter.vercel.app
14 stars 0 forks source link

useTranslations not implemented #143

Open kyle-liminal opened 1 year ago

kyle-liminal commented 1 year ago

Description

useTranslations hook unpredictably does not not translate elements in browser and instead just shows string passed in as argument. Hard to reproduce because it seems to happen somewhat randomly.

This should be being translated

Screenshot 2023-07-19 at 2 28 03 PM

Here is the error Screenshot 2023-07-19 at 11 58 27 AM

Steps to Reproduce

change language in navbar to check if translation happens

IEH42 commented 1 year ago

the untranslated text shows up because there were no translations found for a specific language for a specific label.

The Home.welcome message is missing for French and Italian in the src/dictionaries/*.json files I'd add it myself but the best I can do is a Google translated version. I do not know French or Italian

Regarding the error, I didn't see that on the console