next-translate

Next.js plugin + i18n API for Next.js 🌍 - Load page translations and use them in an easy way!

MIT License

Downloads
311.8K
Stars
2.5K
Committers
70

Bot releases are hidden (Show)

next-translate - 0.17.3

Published by aralroca about 4 years ago

Many thanks to @giovannigiordano, @hibearpanda and @kidnapkin for their great contributions to this release.

CHANGES / PATCHES

  • Add logger for missing keys #262 by @giovannigiordano
  • Support pathname and query as href object #255 by @aralroca
  • Bump next from 9.5.2 to 9.5.4 #268 by @dependabot
  • Allow Anchors / Hashes in URL paths #265 by @hibearpanda
  • Fix config export #259 by @kidnapkin
  • Fix lang for custom server on fixHref helper #254 by @aralroca
  • Fix #248 #252 by @giovannigiordano

Future plans

As you may know, now in the new version of Next.js (+9.5.5) they are starting to support i18n on the core. With this in mind, the next versions of next-translate will focus on adapting to the new way. When we created this library, we used the "build-step" as a workaround, however, we want to evolve the 1.0.0 version of this library removing the "build-step" and have better integration with Next.js. If you want to contribute, there is an open issue to discuss this.

next-translate - 0.17.3-canary.5

Published by aralroca about 4 years ago

CHANGES

  • Add logger for missing keys #262
next-translate - 0.17.3-canary.4

Published by aralroca about 4 years ago

CHANGES

  • Support pathname and query as href object #255
  • Bump next from 9.5.2 to 9.5.4 #268
  • Allow Anchors / Hashes in URL paths #265
next-translate - 0.17.3-canary.3

Published by aralroca about 4 years ago

PATCHES

  • Fix config export #259 (by @kidnapkin)
next-translate - 0.17.3-canary.2

Published by aralroca about 4 years ago

  • Fix lang for custom server on fixHref helper #254
next-translate - 0.17.3-canary.1

Published by aralroca about 4 years ago

next-translate - 0.17.2

Published by aralroca about 4 years ago

For this release we had thought of certain changes, and this has caused it to take longer than expected. In the end, we preferred to release it now and wait for these changes for the next one.

The main reason to do the release now, is that in the new version of Next.js 9.5.2 the export * from is disallowed, so it is a breaking change for next-translate and with this release we already give support to Next.js 9.5.2.

Many thanks to @dhobbs and @shunkakinoki for their contributions in this release.

PATCHES

  • Add error message when finalDir doesn't exist #243 (by @aralroca)
  • Bump lodash from 4.17.15 to 4.17.19 #229 (by @dependabot)
  • Copy css/scss files on build step #199 #201 (by @aralroca)
  • Fix 'export *' on Next 9.5.2 #242
  • Fix appWithI18n and getInitialProps #223 (by @aralroca)
  • Fix issue index folder #200 (by @aralroca)
  • Fix query params on redirect with lang-path #215 (by @aralroca)
  • Make directories recursively #218 (by @dhobbs)
  • fix typo 😎 #233 (by @shunkakinoki)
next-translate - 0.17.2-canary.6

Published by aralroca about 4 years ago

PATCHES

  • Fix 'export *' on Next 9.5.2 #242
next-translate - 0.17.2-canary.5

Published by aralroca over 4 years ago

PATCHES

  • Fix appWithI18n and getInitialProps #223
next-translate - 0.17.2-canary.4

Published by aralroca over 4 years ago

PATCHES

  • Make directories recursively #218
next-translate - 0.17.2-canary.3

Published by aralroca over 4 years ago

PATCHES

  • Fix query params on redirect with lang-path #215
next-translate - 0.17.2-canary.2

Published by aralroca over 4 years ago

PATCHES

  • Change behavior of css/scss files inside pages_ (copy them instead of ignore them) #201
next-translate - 0.17.2-canary.1

Published by aralroca over 4 years ago

PATCHES

  • Fix issue index folder #200
  • Skip build step for .css and .scss files #199
next-translate - 0.17.1

Published by aralroca over 4 years ago

CHANGES

  • allow passing in a config to documentLang to avoid requiring "i18n.json" at request time (by @lone-cloud) #192
  • docs(readme): fix formatting (by @rekomat) #195
  • Update docs (by @aralroca) #196
next-translate - 0.17.1-canary.2

Published by aralroca over 4 years ago

CHANGES

  • Allow passing in a config to documentLang to avoid requiring "i18n.json" at request time (by @lone-cloud) #192
next-translate - 0.17.1-canary.1

Published by aralroca over 4 years ago

CHANGES

  • Fix document lang typescript #188
next-translate - 0.17.0

Published by aralroca over 4 years ago

In this release, we add a new helper documentLang (next-translate/documentLang) to load the language in the _document.js in an easy way. Read more about it.

Thank @dnepro for his contributions in documentation for this release! 👏

CHANGES

  • Add Documentation for "documentLang" (by @dnepro ) #185
  • Fix custom error page on catchall (by @aralroca ) #183
  • Add documentLang helper (by @aralroca ) #181
next-translate - 0.17.0-canary.2

Published by aralroca over 4 years ago

CHANGES

Fix custom error page on catchall #183

next-translate - 0.17.0-canary.1

Published by aralroca over 4 years ago

CHANGES

  • Add documentLang helper #181
next-translate - 0.16.1

Published by aralroca over 4 years ago

PATCHES

  • Add 404 page as next internal page #180