Questions tagged [internationalization]
Internationalization(i18n : representing "internationalisation" as "i" followed by 18 more letters, followed by "n") is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization. The internationalization process is sometimes called translation or localization enablement.
internationalization
11,835
questions
0
votes
0
answers
12
views
.Net 8 Blazor Web App (server) -> Start with browser language and allow user to change language via dropdown
What I want to achieve
I want my Blazor Web App (server rendering) to start with translations that fit to the browser language but also offer a language selection to the user to change the app ...
0
votes
0
answers
15
views
how to update i18n messages on nuxt app with api response, after initialisation
I am working on an application in Nuxt 3, with i18n. I am trying to use an API response to update the messages, after the initialisation.
we have severals app that use the same dictionary, we want to ...
1
vote
1
answer
16
views
What does sourceLocale actually do?
The official description for sourceLocale is quite brief:
Use the Angular CLI to set the source language in which you are writing the component template and code.
By default, Angular uses en-US as ...
0
votes
0
answers
15
views
Next.js routing homepage to dynamic page causing 500 error after setting localeDetection: false
I am developing a multilingual website using Next.js and next-translate, deployed on Cloudflare. Here is the structure of my pages:
Dynamic page: [path].jsx
Homepage: index.jsx
APP page: app.jsx
The ...
0
votes
0
answers
13
views
React Next.js - how can we use Server component with globals libs providers?
I'm in the process of learning more about NextJs and more particularly about client / server components.
I've understood that you have to separate the two to get the best possible SEO rendering, and ...
0
votes
1
answer
54
views
Rails Internationalization – Lazy Lookup with a Presenter class
4.1.4 of the Rails Guide explains "Lazy" Lookup for the Internationalization gem.
As an example:
en.yml
en:
clients:
show:
good_client: 5 Star Client
app/views clients/show....
0
votes
0
answers
16
views
cannot enter the url manually after writing a middleware in nextjs14 (app router)
since i've added the middleware which i will provide to you,
i cannot enter the urls manually and it errors out.
i'm using "next-intl" internationalization and i created a middleware to ...
0
votes
0
answers
22
views
Translating model fields in Django - are choices a valid alternative?
I am trying to figure out the best way to translate model fields in my Django application.
After looking at the available libraries (django-modeltranslation, django-modeltrans, etc.) I started ...
0
votes
0
answers
35
views
internationalization in nextjs 14 using i18next react-i18next i18next-http-backend i18next-browser-languagedetector package
Folder structure is given below i want to apply internationalization in my footer component whenever i import i18n component it is shows error like Server Error Error: (0 , ...
0
votes
0
answers
15
views
How to remove unused keys by using i18n-unused
yarn i18n-unused display-unused
Unused translations in:\Users\Amar\Downloads\githubissue\common.json
Unused translations count: 1
(index) Translation
0 '6'
Total unused translations ...
0
votes
0
answers
45
views
i want to apply internationalization in next
I want to perform internationalization in footer component but whenever I import i18n it is show error like this:
Server Error Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a ...
0
votes
0
answers
9
views
How to Handle Internationalisation and store region while statically generating all the pages in nextjs 14
Am building out a small e-commerce website that has like 4-10 products. which also has multiple language support, and multiple regional support.
├── api
│ ├── revalidate
│ │ └── route.ts
│ └── ...
0
votes
0
answers
23
views
Module not found error when dynamically importing locales in i18next
I'm integrating i18next in my Next app by following this tutorial https://i18nexus.com/tutorials/nextjs/react-i18next and all the steps seem to be working as expected until I added the i18n.ts file in ...
0
votes
0
answers
13
views
Is there way to try a series of translation keys in Vue I18n?
How can I simplify this code?
<script setup>
import { useI18n } from 'vue-i18n'
const { t, te } = useI18n()
const message = te('key1') ? t('key1') : ( te('key2') ? t('key2') : t('key3') )
</...
0
votes
1
answer
33
views
Angular i18n set locales
According to Angular doc about i18n, I set i18n options like this:
And set localize property inside build property to use "it-IT"
When I start application with "ng serve" command ...