1,511 questions
-1
votes
0
answers
17
views
How to Update Translation Keys in Next.js to Match a New i18n Structure?
please advise me what to do in the following situation:
I made machine translation for Nextjs site, I have in all components my paths to the keys with the corresponding text, my customer was not ...
-1
votes
1
answer
49
views
React nativ i18n doesn't work on prod environment
I use i18n on my application react nativ, with expo, for translate, all works fine in dev environment, but not in production environment
For test in prod environment i use : npx expo start --no-dev --...
0
votes
0
answers
44
views
Nuxt 3: Meta Tags Not Updating in "View Page Source" but Visible in DevTools
Description:
I'm using Nuxt 3 with useHead() to set dynamic meta tags based on locale. The meta tags appear correctly in the Elements tab (DevTools) but are missing in "View Page Source".
...
0
votes
0
answers
21
views
Unable to remove unused i18n dynamic keys
I have a react codebase which uses i18n react package, we have couple of translation files, in some of the components we generate translation keys dynamically for instance
priority__HIGH: "High&...
0
votes
1
answer
27
views
Why isn't i18next-fs-backend loading translation files from Onedrive?
I'm trying to load i18next translation files from a directory in OneDrive. When I try to do so, playwright keeps looking for the files in the C:\ drive. Is it imposible to load files from OneDrive? ...
0
votes
0
answers
14
views
When debug mode is active, is it possible to get i18next to warn when trying to use translated text as a key
I'm trying to debug some missingKey warnings in my codebase and it seems that we're doing what essentially amount to t(t('some.valid.key')). The code is more complex which many layers between the ...
0
votes
0
answers
62
views
i18next: loading namespace translation for language en failed Error: non of the backend loaded data
I try to move from sprockets to jsbundling with esbuild in our rails application.
Therefore I added all of the important dependencies to the package.json and installed everything yarn.
Additionally, ...
1
vote
1
answer
45
views
Is it possible have working Angular i18next multilingual translations after page reload and without component lazy loading?
I have installed angular-i18next library and I want to have working multilingual translations after I going to change language and reload the page. Now its working, but I need to have implemented lazy ...
0
votes
0
answers
23
views
How to define custom json files in next-i18next
I am having a Nextjs Typescript application in which I am trying to implement next-i18nnext for internationalization
This is my next-i18next.config.mjs file
import path from 'path';
const ...
0
votes
0
answers
23
views
NextJs fetch API problem and lang parameter with i18n
I have created a not very dynamic site with the latest version of nextjs. So the folder structure is app/(home)/page.tsx and app/(home)/page.tsx. What is my problem? I want to fetch the endpoint in a ...
2
votes
0
answers
150
views
Unable to use output: 'export' in next config file with i18n locales | Next JS
Question: Handling Next.js output: export and i18n Conflict During Build
I am facing an issue with next export and output: export configuration in Next.js. Since next export has been deprecated in ...
1
vote
1
answer
123
views
Why does getInitialNamespaces() Returns Null or Undefined Value and How to Fix It?
I am working on my remix vite project and currently set up i18n for localization. Initially I have found out that no button component in my project works (I have even tried console.log statements but ...
0
votes
0
answers
46
views
How to Dynamically Load Translations with i18next Using a Nested Folder Structure?
I'm working on a project that we're using react-i18next remix-spa for localization, and I want to organize my translation files in the following folder structure:
/locales
├── /pages
│ ├── /...
0
votes
0
answers
114
views
How to resolve "You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done"?
I'm using i18next to localize my React frontend application. The usage is as following:
import i18n from "i18next";
import LanguageDetector from 'i18next-browser-languagedetector';
import ...
0
votes
1
answer
38
views
i18n - One / Other in nested objects in the translation file
I am trying to create a good structure for my translation files with i18n and I nest the same wordings into their own objects in the translation file. Example:
"reports": {
"one"...