{"repo":"toonvanstrijp/nestjs-i18n","free":true,"listed":false,"github":"https://github.com/toonvanstrijp/nestjs-i18n","clone":"git clone https://github.com/toonvanstrijp/nestjs-i18n.git","description":"The i18n module for nestjs.","language":"TypeScript","stars":719,"topics":["nestjs","i18n","nodejs","typescript"],"license":null,"category":"dev-tools","readme_excerpt":"The i18n library for nestjs . It makes working with languages in your nestjs project easy. Everything is made to be highly configurable. You can write and plug-in your own language resolvers or loaders. Features nestjs-i18n comes with a bunch of tools to help add multiple language support to your project. - Type safety 🎉 (instructions) - Variable formatting (instructions) - Fallback languages (instructions) - Live reloading 🎉 - Plurals support (instructions) - GraphQL support (instructions) - gRPC support (instructions) - DTO validation (instructions) - View engine support ( hbs or pug or ejs ) - Custom resolvers - Custom loaders - Custom formatters Getting started To get started follow the quickstart , or take a look at the docs . License nestjs-i18n is MIT licensed. Breaking changes: - from V10.0.0 on we removed the I18nRequestScopeService . This because we now have async hooks support. This allows you to get the current I18nContext by doing I18nContext.current() . - from V9.0.0 on we renamed the parser property to loader . The translate function no longer returns a promise 🎉. A lot of new features and new docs, see nestjs-i18n.com. - from V8.0.0 on we changed the internal I18n-middleware for an interceptor this way we can provide the ExecutionContext so that nestjs-i18n works on different protocols as well, such as gRPC and WebSockets. This contains one breaking change. It only applies to your code if you've made a custom resolver . To resolve this breaking change take ","default_branch":null,"files":null,"tree":[],"storefront":"/r/toonvanstrijp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/toonvanstrijp/nestjs-i18n/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}