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 - 1.0.6-canary.2

Published by aralroca over 3 years ago

  • Ignore api.(ts|js...) file #567
next-translate - 1.0.6-canary.1

Published by aralroca over 3 years ago

  • Update Trans text after change lang #566
next-translate - 1.0.5

Published by aralroca over 3 years ago

PATCHES

  • replace quotes only for the special $' pattern specific to .replace() #529 (by @shelooks16)
  • fix(transCore): when no suffix don't match spaces #534 (by @slevy85)
  • Fix _one #541 (by @justincy)
  • Add docs about Intl.PluralRules polyfill #552 (by @aralroca)
  • Update dependencies #554 (by @aralroca)
next-translate - 1.0.5-canary.3

Published by aralroca over 3 years ago

  • Fix _one #541
next-translate - 1.0.5-canary.2

Published by aralroca over 3 years ago

  • fix(transCore): when no suffix don't match spaces #534
next-translate - 1.0.5-canary.1

Published by aralroca over 3 years ago

  • replace quotes only for the special $' pattern specific to .replace() #529
next-translate - 1.0.4

Published by aralroca over 3 years ago

  • Fix: replace single qoutes with double qoutes in modifiedCode #527 (by @shelooks16)
  • fix: setLanguage type declaration #524 (by @Divlo)
next-translate - 1.0.4-canary.2

Published by aralroca over 3 years ago

  • Fix: replace single qoutes with double qoutes in modifiedCode #527
next-translate - 1.0.4-canary.1

Published by aralroca over 3 years ago

  • fix: setLanguage type declaration #524
next-translate - 1.0.3

Published by aralroca over 3 years ago

In order not to delay too much, we already released 1.0.3 with some bugfixes (and the setLanguage function that so many people ask for), and everything we had thought for milestone 1.0.3 will be released in the next releases.

  • Allow passing a generic type to the translate fn #485 (by @gurkerl83)
  • Fix pkg dir #505 (by @aralroca)
  • Fix: spelling in readme #515 (by @luknl)
  • feat: add setLanguage #496 (by @Divlo)
next-translate - 1.0.3-canary.2

Published by aralroca over 3 years ago

  • Fix pkg dir #505
next-translate - 1.0.3-canary.1

Published by aralroca over 3 years ago

  • Allow passing a generic type to the translate fn #485
next-translate - 1.0.2

Published by aralroca over 3 years ago

PATCHES

  • Add default namespace param to withTranslation #458 (by @j-schumann)
  • Add more information regarding listing all locales when using the i18n.js instead of i18n.json #425 (by @luisgserrano)
  • Add statics hoc on config #479 (by @aralroca)
  • Allow empty translations #461 (by @j-schumann)
  • Enable strict mode for Typescript, add type annotations #475 (by @andrehsu)
  • Fix default namespace not working for fallback keys, fix types #470 (by @andrehsu)
  • Fix issue arrow function with type #471 (@aralroca)
  • Invoking getInitialProps of wrapper component in withTranslation HOC #433 (by @emmekappa)
  • Normalize slashes in a file path to be posix/unix-like forward slashes #472 (by @vimutti77)
  • Update dependencies #478 (by @aralroca)
  • fix getServerSideProps loading on dynamic page with HOC #426 (by @aralroca)
  • fix: components type of TransProps #422 (by @vimutti77)

Credits

Thanks to all of you who contributed to this release 🙏 😊

@j-schumann, @luisgserrano, @andrehsu, @vimutti77, @emmekappa, @aralroca

next-translate - 1.0.2-canary.10

Published by aralroca over 3 years ago

  • Update dependencies #478
  • Add statics hoc on config #479
next-translate - 1.0.2-canary.9

Published by aralroca over 3 years ago

  • Enable strict mode for Typescript, add type annotations #475
next-translate - 1.0.2-canary.8

Published by aralroca over 3 years ago

  • Fix default namespace not working for fallback keys, fix types #470
next-translate - 1.0.2-canary.7

Published by aralroca over 3 years ago

  • Normalize slashes in a file path to be posix/unix-like forward slashes #472
next-translate - 1.0.2-canary.6

Published by aralroca over 3 years ago

  • Fix issue arrow function with type #471
next-translate - 1.0.2-canary.5

Published by aralroca over 3 years ago

  • Add default namespace param to withTranslation #458
next-translate - 1.0.2-canary.4

Published by aralroca over 3 years ago

  • Allow empty translations #461 (by @j-schumann)