Foxy / foxy-elements

Elements and resources for use in other front-end code, like the admin and customer portal.
https://elements.foxy.dev
MIT License
7 stars 8 forks source link

Translation files are 404ing in Quick Order #9

Closed brettflorio closed 4 years ago

brettflorio commented 4 years ago

Seeing the following when testing out the quick order form:

GET https://static.www.foxycart.com/beta/foxy-elements/0.3.0/translations/translation/en.json 404

Double translations/translation in there, looks like.

ndvo commented 4 years ago

Explictitly setting the ns property (namespace) for the i18next object solves the issue. Didn't find it in their documentation, but it seems they have a default 'translations' namespace that was causing the issue.

Fixed at https://github.com/Foxy/foxy-elements/commit/5e047eb71225fc1810560b5725a720a07204629c