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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

How to pass Internationalization Locale in nextjs14 app router to deep nested server-side component

I have created a new nextjs14 project and setup Internationalization exactly as it i mentioned in the docs. Now I want to know the most elegant way to access the current language setting to render ...
Emad Younan's user avatar
0 votes
0 answers
13 views

Enabling Translation for Components in Astro with astro-i18next

have a webpage in English built using Astro, and it is component-based. In my index.astro, I have components like FrontpageLayout, HeroSection, WhyToWorkWithUs, and others. I'm wondering how to enable ...
ss23's user avatar
  • 3
1 vote
1 answer
15 views

What is the best way to do internationalization in an app with Angular 17?

I'm currently developing a new app with Angular 17 and I can't find any documentation about I18n in the new Angular.dev I don't know if maybe I should use ngx-translate. I didn't try anything yet, I'...
Jorge Castillo's user avatar
0 votes
0 answers
30 views

Does Javascript have a way to parse numeric strings accounting for different global character sets?

Is there a way to validate/parse strings into integers when the characters used may use numeral character sets other than the standard Western 0-9? Background: My Javascript application prompts users ...
David Tresner-Kirsch's user avatar
0 votes
1 answer
16 views

I18n for Flowbite popups

I'm working on a Svelte app that could potentially have Spanish speaking users. So far I've happily added the proper I18n material. But I've run into a problem with Flowbite's internal messages. I'm ...
Argle's user avatar
  • 198
0 votes
0 answers
14 views

Vuetify Internationalization

I am using vuetify's internationalization and on using the v-select I get an error on the browser [Vue warn]: Vuetify: Translation key "$vuetify.open" not found in "en", trying ...
Davi3's user avatar
  • 15
0 votes
1 answer
28 views

What is the best way to support parsing multiple languages in ANTLR?

I have written an application in Java that allows the user to enter a statement like: show photos with tag "..." I use ANTLR to write a lexer/parser to parse the above input which is in ...
Rick Noel's user avatar
0 votes
0 answers
23 views

Type instantiation is excessively deep and possibly infinite.ts(2589)

I'm encountering an issue in my TypeScript code where I'm getting the error message "Type instantiation is excessively deep and possibly infinite.ts(2589)" and I'm seeking guidance on ...
Mr. A's user avatar
  • 37
0 votes
0 answers
31 views

React Native / React Navigation: Stack navigation's back button doesn't change from left to right when using RTL layout

I'm building a React Native (Expo managed project) application that has to be translated to English, Hebrew and Arabic. I'm using expo-localization to make the layout change to RTL when the user has ...
Cooty's user avatar
  • 375
0 votes
0 answers
14 views

How to make i18n and sveltekit works when navigate with <a href=>

So i'm using typesafe-i18n, with everything setup and working. But now when i tried to make a nav-bar i'm having this situation. First for the routes, it's like this routes |---[[lang]] |-----...
Akhademik's user avatar
0 votes
0 answers
38 views

Angular: Bad-user experience as i18n is not loaded before component has been loaded

We have built a website in Angular and we had some discussions in our team on, whats the best way, to load i18n first - before creating components? Right, now a user might be able, to see the i18n ...
Stellar Security's user avatar
1 vote
2 answers
114 views

Is there any replacements for strstr in C/C++ that can be used with multibyte strings?

I am trying to do strstr in C++ with Shift-JIS strings. But since the accepted answer here states that there could be false positives if the standard strstr is used, I couldn't just use the regular ...
Bowen Cui's user avatar
0 votes
1 answer
19 views

How do you use the Svelte-i18n CLI?

There's a CLI documented in the Svelte-i18n package, and it seems like it could be a useful tool, but I can't for the life of me figure out how to use it. Does anyone have a clue for me?
Argle's user avatar
  • 198
0 votes
1 answer
22 views

how to separate languages from currencies using vu-i18n

I'm trying to let the user have the ability to change the display language and currency independently, I'm using the Vue-I18n v9 plugin on Vue3+Vite project. The project needs to support more than 20 ...
anas ali's user avatar
3 votes
1 answer
72 views

Easy localization package translation is not working in Bottom Naviagtion Bar items label flutter dart

here below code of main screen class that contains bottom Navigation Bar items , my issue is except this bottom nav bar labels all other strings translations are working. class Main extends ...
Nns_ninteyFIve's user avatar
1 vote
1 answer
81 views

nx serve is ignoring import of "@angular/localize/init"

I am trying to implement @angular/localize in my project which is part of an Nx workspace ([email protected]). I am following the official guide: https://angular.io/guide/i18n-overview Specifically, I ...
Christian's user avatar
0 votes
1 answer
30 views

Specific title and keywords for non-english versions of a docusaurus website

I have a website made by docusaurus 2.0.0-beta.18. Initially it was in English, then I added Chinese version for many pages with i18. So a page like https://www.mywebsite.com/zh-CN/docs/a-page ...
SoftTimur's user avatar
  • 5,396
0 votes
1 answer
15 views

How to get i18n locale in nuxt.config file (technologies: Nuxt 3, Vue 3, Vite)

How to get the equivalent to context.app.i18n.locale inside nuxt.config.ts file in Nuxt 3 ? I am using "@nuxtjs/i18n": "^8.0.0-rc.5" (the @nuxtjs/i18n@next one). Thank you in ...
CBD's user avatar
  • 17
0 votes
0 answers
37 views

Angular internationalization (i18n) - $localize takes default translation

In my Angular application, I have a table.config.ts file that exports a configuration object for a table column. The configuration includes localization using the $localize function for the column ...
LudwigSoftware's user avatar
1 vote
1 answer
38 views

Better approach for using i18next library - but I don't know how to achieve it

My question is at the bottom of the post import ReactDOM from "react-dom/client"; import App from "./App.tsx"; import { Provider } from "react-redux"; // Bootstrap CSS ...
Josip Pardon's user avatar
0 votes
2 answers
21 views

Wagtail Internationalization, how to select language for a page?

I want to build a site in 'nl' and 'en', followed the docs: https://docs.wagtail.org/en/stable/advanced_topics/i18n.html#enabling-internationalisation LANGUAGE_CODE = 'nl' USE_I18N = True USE_L10N = ...
Niels's user avatar
  • 41
0 votes
0 answers
17 views

PrimeNG Table "currentPageReportTemplate" i18n localization

The following code, which works on all the other placeholders (dropdowns, etc.) doesn't work. When running the translated version to text is cut after 1st word, eg. It should be Záznamy {first} až {...
Destabilizator's user avatar
-1 votes
0 answers
32 views

How do i18n and ssr work correctly in Angular17?

When I build and start server.mjs in dist/app/server/en-US, it will report error ERROR z [Error]: NG04002, at Nh.noMatchError (file:///.../dist/app/server/en-US/chunk-DY72BNS5.mjs:42:72927) Hope to ...
gzf6's user avatar
  • 9
0 votes
0 answers
26 views

Canonical and alternate URLs of a docusaurus website with 2 locales

I have a website made with Docusaurus. Initially it was in English, then I added Chinese version for many pages with i18. So a page like https://www.mywebsite.com/docs/a-page displays in English and ...
SoftTimur's user avatar
  • 5,396
0 votes
1 answer
44 views

Nextjs 14 / Next.js 14 favicon problem after changing project structure to add Internationalization

I'm facing an issue with favicon display in Next.js 14.0.2. The problem arose after I added internalization and changed my project structure. In short, this is my project structure: - app - [lang] ...
mondevyat's user avatar
0 votes
0 answers
17 views

Not all locales are generated in sitemap.xml of a docusaurus website

I have a website made by docusaurus 2.0.0-beta.18. Initially it was in English, then I added Chinese version for many pages with i18. So a page like https://www.mywebsite.com/zh-CN/docs/a-page ...
SoftTimur's user avatar
  • 5,396
0 votes
1 answer
88 views

Vue i18n pluralization with multiple parameters

Hi I'm using i18n internationalization in my Vue app. It works for simple statements without any additional parameters but when I have additional parameters it doesn't seem to register them at all. ...
Dhruvix's user avatar
1 vote
1 answer
20 views

Remote, dynamic localization in flutter apps

I'm building flutter desktop application and need to implement localization/internationalization. I'm keeping the translations in the sql db and fetching via webapi. When the string is edited/changed ...
Bilol's user avatar
  • 56
0 votes
0 answers
21 views

VueI18n Translation warnings

On my project we are using VueI18n package for translation purpouose. But through application's console I am constantly getting warnings similar to this one : [vue-i18n] Cannot translate the value of ...
baliichh's user avatar
0 votes
0 answers
13 views

NextJS i18n main menu _app subpage not translate

I have NextJS v14 and i18n to languages. I want to wrap page content in menu component. https://codesandbox.io/p/sandbox/nextjs-i18n-menu-syz54t In components/menu.js I have main menu links and ...
Peter's user avatar
  • 497
0 votes
1 answer
68 views

AWS Amplify doesn't show i18n translation on dynamic page in Nextjs (page directory)

I am trying to use the next-i18next package in a Nextjs project. In my dynamic pages like: /blogs/[id] section, i18n can't translate the page and only shows its key on the server, but it works fine ...
Hosein Soleymani's user avatar
0 votes
0 answers
13 views

docusaurus won't pick up my translated markdown files

My docusaurus project structure: website |--docs |----homepage.md |--i18n/de/docusaurus-plugin-content-docs/current |----homepage.md When I use the language switch I get directed to http://localhost:...
Sven's user avatar
  • 1,026
0 votes
0 answers
22 views

In Django, how to remove language prefix conditionnally after internationalization ? Media file src problem

In a django project, after a query I'm sending image srcs to a JS file that will then create popovers dynamically on my home page using these image srcs and some text data. ex : popover_photo.src = '...
Antz's user avatar
  • 1
0 votes
0 answers
96 views

No intl context found error in Next.js application with use-intl library ( NEXTjs 14.0.1 )

I'm encountering an error in my Next.js application when using the use-intl library. The error message I'm seeing is: ⨯ Error: No intl context found. Have you configured the provider? error console I'...
George's user avatar
  • 1
-2 votes
0 answers
39 views

Get request parameters validation error cause as JSON

I have a Spring-Boot rest API that use jakarta.validations.constraints to validate endpoints parameters. I'm trying to improve validation message of my endpoints by providing more structured ...
MatthieuBlm's user avatar
1 vote
1 answer
46 views

How to deploy to Firebase hosting an Angular Universal app with multiple languages (i18n)?

Hope some amazing soul out there can help me. I have a simple ANGULAR 16 app that has universal to generate SEO friendly pages for the search engines, and my app is written in English and translated ...
Telma C.'s user avatar
  • 366
0 votes
0 answers
21 views

React i18n translate in route

I installed the package with i18n translation, connected it, the translation works fine, but I have a problem with the translation of the menu. The fact is that when you change the language, the site ...
ahab4ik's user avatar
  • 73
0 votes
0 answers
29 views

SetLocale does not update locale

I have such code but locale does not updated after choosing. For example I choose French but default locale are used. Could you help to resolve this problem ? i18n.configure({ directory: __dirname + ...
salat's user avatar
  • 3
0 votes
0 answers
32 views

Creating keyboard events that interact with different language input methods

I have a Mac app which needs to generate keystrokes and am doing this with CGEventCreateKeyboardEvent(), CGEventKeyboardSetUnicodeString() and CGEventPost(). This works fine with English, however if I ...
Locksleyu's user avatar
  • 5,222
0 votes
1 answer
48 views

C# WPF implements multi-language internationalization support, and the corresponding resource dll file cannot be generated

I am trying to implement multi-language internationalization support in my C# WPF application. I have followed the guidelines for setup, but I'm encountering an issue when trying to generate the ...
AbuLan's user avatar
  • 13
0 votes
1 answer
62 views

Can we dynamically change whole app language in flutter?

I want my flutter application to be in French fr language. Yes, we can define translations file & manually do all the translations of the app texts & then translate them based on the locale.. ...
ahmadfaraz's user avatar
-1 votes
0 answers
34 views

how to make a certain part of text bold in react type script

const BottomMessage = () => { const infoMessage = intl.formatMessage({ defaultMessage: "รองรับไฟล์นามสกุล .xlsx เท่านั้น", description: "infoMessage" }); In the ...
Bobby's user avatar
  • 1
0 votes
0 answers
48 views

EF Core and translatable properties

I'm working on a legacy project where I did start to migrate the OR mapper to EF Core 6. Unfortunately I encountered a scenario regarding translatable fields which I don't know how to approach. There ...
Lukas's user avatar
  • 164
0 votes
0 answers
22 views

Language switch not functionning properly

I have this function here in an Angular project. The function seems to work but instead of adding the full '/la/home' (using la as example but it does the same for en-US) to my url, it only adds the '...
Bibz's user avatar
  • 21
0 votes
0 answers
17 views

Link between multi language builds

I set up a Angular website to work with their i18n implementation, what results in two builds that work fine separately: /dist/pt/ /dist/en/ Now I'm trying to create the switch language feature, I ...
Lucas Guima's user avatar
0 votes
0 answers
21 views

Trying to have a way for a user to select language

I am working on an Angular application for a school project and the teacher wants us to have a way for the user to have access to different translated versions of our app. I have no idea how to ...
Bibz's user avatar
  • 21
0 votes
1 answer
30 views

Is there a way to name interpolation placeholder from html component in i18n with Angular?

In Angular, I'm using localization (i18n) to translate strings in my application. I have successfully used the $localize template literal in TypeScript files to translate strings with dynamic ...
Filip Trivan's user avatar
0 votes
0 answers
80 views

Next.js 13.x App Router Internationalization with Nested Layouts

I'm working on a Next.js 13 project with the new /app folder routing, and attempting to set up internationalization. My project structure looks like this: Root AppLayout (src/app/[lang]/layout.tsx) ...
nop's user avatar
  • 5,043
1 vote
1 answer
33 views

Django translations of path **kwargs in urls.py?

How can I translate the values passed to **kwargs within the urls.py file in Django, based on the language selected by the user? Translations in templates are working, and the language is determined ...
Karolis's user avatar
  • 336
0 votes
0 answers
30 views

i18n localization does not accept html tags in translation strings

I am using i18n to add localization to my angular app and I have run into an issue. i18n does not seem to support html tags. It generates an error when I run I try to generate the localized bundles. ...
Amokachi's user avatar
  • 101

1
2 3 4 5
235