Microcopy #974
adamchipperfield
started this conversation in
Feedback
Microcopy
#974
Replies: 1 comment 1 reply
-
I think we need simple example to work from, I havn't figure out how to use the translation in the hydrogen yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's clearly been a huge effort to allow Markets to integrate with a Hydrogen app. However, it feels like the missing piece here is system translations (or "microcopy").
For example, I can set up a localised experience using the helpful documentation. This will allow translations for any API-fetched content, like product titles, through the use of the
@inContext
directive.However, hard-coded copy (i.e. "Cart") remains in the default language (English). So OOTB Hydrogen only provides a half-baked translation approach. Are there plans or a direction that we can take to provide translations for these cases?
I've been looking over react-i18next (and the more relevant remix-i18next). They seem to be a potential solution.
But it would be good to have some sort of Hydrogen component/hook that handles this without all the extra fluff of these well established packages.
Beta Was this translation helpful? Give feedback.
All reactions