{"repo":"i18next/i18next-http-backend","free":true,"listed":false,"github":"https://github.com/i18next/i18next-http-backend","clone":"git clone https://github.com/i18next/i18next-http-backend.git","description":"i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.","language":"JavaScript","stars":524,"topics":["i18next","xhr","fetch","backend","plugin","deno","nodejs","javascript"],"license":"MIT","category":"dev-tools","readme_excerpt":"Introduction This is a simple i18next backend to be used in Node.js, in the browser and for Deno. It will load resources from a backend server using the XMLHttpRequest or the fetch API. Get a first idea on how it is used in this i18next crash course video. It's based on the deprecated i18next-xhr-backend and can mostly be used as a drop-in replacement. Why i18next-xhr-backend was deprecated? Advice: If you don't like to manage your translation files manually or are simply looking for a better management solution, take a look at i18next-locize-backend. The i18next backend plugin for 🌐 Locize ☁️. Starting from an app with hardcoded strings? Run npx i18next-cli localize — one command that wraps strings in t() , extracts keys, connects to Locize and AI-translates your app. See the launch post. To see i18next-locize-backend in a working app example, check out: - this react-tutorial starting from Step 2 - this guide starting from the step of replacing i18next-http-backend with i18next-locize-backend - this Angular blog post introducing i18next-locize-backend - the code integration part in this YouTube video Troubleshooting Make sure you set the debug option of i18next to true . This will maybe log more information in the developer console. Seeing failed http requests, like 404? Are you using a language detector plugin that detects region specific languages you are not providing? i.e. you provide 'en' translations but you see a 'en-US' request first? This is because of the default ","default_branch":null,"files":null,"tree":[],"storefront":"/r/i18next","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/i18next/i18next-http-backend/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."}