{"repo":"aralroca/next-translate","free":true,"listed":false,"github":"https://github.com/aralroca/next-translate","clone":"git clone https://github.com/aralroca/next-translate.git","description":"Next.js plugin + i18n API for Next.js 🌍 - Load page translations and use them in an easy way!","language":"JavaScript","stars":2737,"topics":["nextjs","tiny","treeshaking","react","i18n","static-site","globalization","localization","preact","plurals"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Easy i18n for Next.js +10 Next plugin + i18n API [![PRs Welcome][badge-prwelcome]][prwelcome] Sponsored by: - 1. About next-translate - How are translations loaded? - 2. Getting started - Install - Add next-translate plugin - Add i18n.js config file - Create your namespaces files - Use translations in your pages - 3. Configuration - 4. API - useTranslation - createTranslation - withTranslation - Trans Component - DynamicNamespaces - getT - I18nProvider - appWithI18n - loadNamespaces - 5. Plurals - 6. Use HTML inside the translation - 7. Nested translations - 8. Fallbacks - 9. Formatter - 10. How to change the language - 11. How to save the user-defined language - 12. How to use multi-language in a page - 13. How to use next-translate in a mono-repo - 14. Use Next 13 app directory - 15. Demos - Demo from Next.js - Basic demo - Complex demo - With app directory demo - Without the webpack loader demo - Contributors ✨ 1. About next-translate The main goal of this library is to keep the translations as simple as possible in a Next.js environment. Next-translate has two parts: Next.js plugin + i18n API . Features ✨ - 🚀 ・ Automatic page optimization (pages dir). - 🏝️ ・ React 18 server/client pages/components (app dir). - 🦄 ・ Easy to use and configure. - 🌍 ・ Basic i18n support: interpolation, plurals, useTranslation hook, Trans component... - 🈂️ ・ It loads only the necessary translations (for page and for locale) . - 📦 ・ Tiny ( 1kb) and tree shakable. No dependencies. How are t","default_branch":null,"files":null,"tree":[],"storefront":"/r/aralroca","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aralroca/next-translate/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."}