You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are the best practices for translating components? For instance I have a header component where I would like to translate 'Contact' and 'Biography' to a different language:
Hi @zasuh! I suggest using react-i18next for this kind of translation (https://react.i18next.com/). The scope of this plugin is to translate pages based on the filename. Please let me know if it works.
@hugomn Hello! Thank you for the response! I ended up fixing my problem by using gatsby-plugin-intl, but am now back at looking into gatsby-plugin-l18n because I need to translate .mdx files. Does this plugin offer that?
What are the best practices for translating components? For instance I have a header component where I would like to translate 'Contact' and 'Biography' to a different language:
The text was updated successfully, but these errors were encountered: