Julian Meier
Julian Meier
Experiencing the exact same issue, hope it'll be fixed soon!
@Methuselah96's solution pointed me in the right direction but since `redux-thunk/src/types.ts` currently has a typescript error which caused my pipelines to fail, I created a redux-thunk.d.ts file: ```typescript // This...
Would love to see this PR merged soon :)
One way to use the currently selected language to load content from a CMS is to use `injectIntl` HOC and read `locale` (current language) from `props.intl`.
`gatsby-plugin-intl` currently does not support `react-intl` v3 so for now this is the proposed way I guess ;)
That depends on the CMS you use. I would try to append the language code to the API call when loading data from your CMS.
I'd be very happy to see this feature implemented! Thanks @kuus for your suggestion :)
@joaovieira Thank you so much! It works perfectly 🎉 👏
You need to use either `FormattedMessage` or `defineMessages` like so: ```javascript const messages = defineMessages({ homeTitle: { defaultMessage: 'xxxx', id: 'xxxx' } }) const Home = ({ intl }) =>...
Looks like it's been fixed with the latest release 🎉 Thanks @tonidero 🙏