aralroca / next-translate-plugin

Next-translate plugin for i18n in Next.js 🌍 - Load page translations and use them in an easy way!
MIT License
30 stars 17 forks source link

Translations inside pages/.../app/... folders stopped working #60

Closed nickredmark closed 1 year ago

nickredmark commented 1 year ago

1.4.4, linux, node 20.0.0, npm 9.6.4

In our project we happen to have an pages/app folder, which has nothing to do with next.js's new app folder (which, if I understand correctly, should be outside pages). Upgrading from 2.0.5 to 2.4.4 caused all translations inside the pages/app folder to stop working. It happens for any page with the following path structure: pages/**/app/**

aralroca commented 1 year ago

Thanks to report it @nickredmark

aralroca commented 1 year ago

@nickredmark it should work in next-translate-plugin 2.5.0-canary.3 prerelease. Would be great if you can confirm that everything is working fine in your project now. Thanks 😊🙏

nickredmark commented 1 year ago

it works, thanks!