Unable to get translated text...... [Fixed it!!] #637
-
Hi there , I followed the instructions but just weren't able to get the translated text , but always returning "common:language", could anyone solve the problem for me, thank you. // i18n.json // /locales/en-US/common.json // pages/index.js |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So I read the issues , and one of the suggestion was instead of do this module.exports = nextTranslate({ images: { domains: [ 'platform-lookaside.fbsbx.com', 'images.unsplash.com', 'ik.imagekit.io', 'image.flaticon.com' ] }) |
Beta Was this translation helpful? Give feedback.
So I read the issues , and one of the suggestion was
instead of
module.exports = { images: { domains: [ 'platform-lookaside.fbsbx.com', 'images.unsplash.com', 'ik.imagekit.io', 'image.flaticon.com' ] }, ...nextTranslate() }
do this
module.exports = nextTranslate({ images: { domains: [ 'platform-lookaside.fbsbx.com', 'images.unsplash.com', 'ik.imagekit.io', 'image.flaticon.com' ] })