All Projects → toonvanstrijp → nestjs-i18n

toonvanstrijp / nestjs-i18n

Licence: other
The i18n module for nestjs.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nestjs-i18n

Nestjs I18n
Add i18n support inside your nestjs project
Stars: ✭ 195 (-48.14%)
Mutual labels:  i18n, nestjs
nestjs-otel
OpenTelemetry (Tracing + Metrics) module for Nest framework (node.js) 🔭
Stars: ✭ 273 (-27.39%)
Mutual labels:  nestjs
nestjs-rmq
A custom library for NestJS microservice. It allows you to use RabbitMQ or AMQP.
Stars: ✭ 182 (-51.6%)
Mutual labels:  nestjs
vscode-flutter-i18n-json
VS Code extension to create a binding between your translations from .json files and your Flutter app.
Stars: ✭ 93 (-75.27%)
Mutual labels:  i18n
banana-i18n
banana-i18n - Javascript Internationalization library
Stars: ✭ 61 (-83.78%)
Mutual labels:  i18n
nestjs-pg-notify
NestJS custom transport strategy for PostgreSQL Pub/Sub.
Stars: ✭ 53 (-85.9%)
Mutual labels:  nestjs
i18n
Yii i18n
Stars: ✭ 20 (-94.68%)
Mutual labels:  i18n
nestjs-rest-sample
NestJS RESTful APIs Sample
Stars: ✭ 204 (-45.74%)
Mutual labels:  nestjs
vue-translated
Internationalization (i18n) and localization (l10n) library for Vue.js v2.
Stars: ✭ 19 (-94.95%)
Mutual labels:  i18n
i18n
The Node.js Internationalization Working Group – A Community Committee initiative.
Stars: ✭ 144 (-61.7%)
Mutual labels:  i18n
nest-rabbit-tasks
nest-rabbit-worker is a TaskQueue based upon RabbitMQ for NestJS
Stars: ✭ 29 (-92.29%)
Mutual labels:  nestjs
core
Core and Admin UI for Angular7+ web applications
Stars: ✭ 47 (-87.5%)
Mutual labels:  i18n
Nine-chat-frontend
采用socketio打造的多人实时通讯多房间在线音乐聊天室
Stars: ✭ 54 (-85.64%)
Mutual labels:  nestjs
girlsfrontline-core
GirlsFrontline library
Stars: ✭ 21 (-94.41%)
Mutual labels:  i18n
react-ecommerce
E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
Stars: ✭ 136 (-63.83%)
Mutual labels:  nestjs
babelfish
🐡 Straightforward library for translations and dictionaries
Stars: ✭ 47 (-87.5%)
Mutual labels:  i18n
nestjs-mercurius
NestJs module to use Mercurius as GraphQL server
Stars: ✭ 38 (-89.89%)
Mutual labels:  nestjs
react-router-i18n
Internationalization library built on top of React Router
Stars: ✭ 24 (-93.62%)
Mutual labels:  i18n
nest-keycloak-connect
keycloak-nodejs-connect module for Nest
Stars: ✭ 174 (-53.72%)
Mutual labels:  nestjs
game-store-monorepo-app
A full-stack web app built with NestJS and ReactJS that helps you find and discover over 500,000+ video games on your device. Powered by RAWG API.
Stars: ✭ 106 (-71.81%)
Mutual labels:  nestjs

nestjs-i18n Logo

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.

npm version NPM npm downloads coverage

Features

nestjs-i18n comes with a bunch of tools to help add multiple language support to your project.

Getting started

To get started follow the quickstart, or take a look at the docs.

License

nestjs-i18n is MIT licensed.

Breaking changes:

  • 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 18n-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 a look at this example. Instead of providing the req in the resolve method, change this to take the ExecutionContext as argument.

  • from V6.0.0 on we implemented the I18nParser, by using this we can easily support different formats other than JSON. To migrate to this change look at the quickstart. There are some changes in the declaration of the I18nModule. Note: the translate function returns a Promise<string>. So you need to call it using await i18n.translate('HELLO');

  • from V4.0.0 on we changed the signature of the translate function, the language is now optional, if no language is given it'll fallback to the fallbackLanguage.

  • from V3.0.0 on we load translations based on their directory name instead of file name. Change your translations files to the structure found in the quickstart.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].