@pelag/nts
v1.0.9
Published
Creation and support of the multilingual project Next.js
Maintainers
Readme
nts
Multilingual Next.js made easy.
The nts package works together with the Locanext web app to help you manage translations in your Next.js projects.
Key Features
🚀 Quick setup — create a Next.js project with internationalization ready to use.
🌐 Simple JSON editing — edit translation files in the web app.
⚡ Fast updates — download new translations with one command.
Quick Start: New Project
Go to locanext.com and create a new project.
Create a Next.js project with translation support:
npx @pelag/nts create
Quick Start: Existing Project
If you already have a Next.js project:
Go to locanext.com and create a project.
Install the nts package:
npm i @pelag/ntsSet up the configuration:
npx nts initDownload the latest translations:
npx nts update
Update Translation Files
To get the newest translation JSON files from your web project, run:
npx @pelag/nts updateHow it works
The system includes two parts that work together:
🖥 The web app locanext.com is where you manage your translation files. It gives you an easy and clear interface for editing JSON, working as a team, and organizing your content. You can add, remove, move, and change translations and keys with just a few clicks.
🧰 The nts tool is for developers. It helps you download the latest translation files from the server and use them in your Next.js project.
For more details, visit locanext.com/docs
