Skip to main content
0 votes
1 answer
16 views

Translate dynamic values in angular?

I would like to know if it is possible to translate dynamic values in angular. So for example there is a field to create a new post. You enter the posts name. Now you entered it in your language but ...
BurritoMan's user avatar
0 votes
1 answer
15 views

Angular i18n: icons within text

What is the correct way to deal with texts that contain icons (or other arbitrary HTML that must not be translated) in Angular i18n? E.g.: Allow alert <mat-icon>toggle_on</mat-icon> to ...
jaboja's user avatar
  • 2,238
0 votes
0 answers
5 views

Expo React Native error 'translations' does not exist on type 'typeof import("c:/xampp/htdocs/.../node_modules/i18n-js/typings/index")'

I am trying to implement translations into my React Native Expo app. It installed these libraries: npx expo install i18next react-i18next expo-localization I am running: import i18n from 'i18n-js'; ...
vytaute's user avatar
  • 1,480
0 votes
0 answers
12 views

React-hook-form + Yup + Internationalised labels

I have a package with many Yup object schemas that define validation rules, but don't provide labels on their properties because the package is also language agnostic. Then I have an app that uses the ...
Robert Koritnik's user avatar
1 vote
1 answer
24 views

Locale-aware number verification in Python?

I need to verify a string has a valid number format as opposed to a date (and random strings containing numbers) I tried parsing the string using locale.atof(), expecting a ValueError on invalid ...
Valentin Brückel's user avatar
0 votes
0 answers
33 views

Angular 18 Internationalization (i18n) per pages/component without third-part library [closed]

I have added internationalization (i18n) to my project through this https://angular-book.dev/ch11-00-i18n.html article However, the example here shows that only one language file (en.json, az.json, ...
Gülü Əhmədova's user avatar
1 vote
1 answer
41 views

NotFound not working on Next.js 14.x, i18NextJs

I'm working with i18NextJs in a Next.js 14 that uses the App router and next-i18n-router. My NotFound pages, both the custom and default ones, are not working as expected. I'm seeing an error about ...
livealvi's user avatar
  • 531
0 votes
0 answers
30 views

Vue, computed, i18n and quotes

I have a project that has reactive translation of PT/EN, using 2 JSON files, i18n and computed(). All parts of the project work well, but in my file route.js all of my translations are shown with ...
Jonatas Santana's user avatar
-1 votes
0 answers
27 views

Best Practice for Bilingual Property Names and Values in Strapi 5 with Nuxt 3 [closed]

Frontend: Nuxt 3 with i18n plugin Backend: Strapi 5 (with i18n enabled by default) I'm developing a bilingual project-search app in Nuxt 3, using Strapi 5 as the backend. The app includes properties ...
DmnkVD's user avatar
  • 73
0 votes
0 answers
32 views

Update i18n translation files

I am using i18n-react in my app. Right now for dev purposes I request translated files through Weblate's API but when we deploy the project we use local json files in utils/i18n to show translation. I ...
Александр Прошанов's user avatar
-1 votes
0 answers
16 views

How to use i18n outside of Remix components?

I'm working on a Remix project and have successfully integrated i18n for internationalization inside Remix components. However, I need to use i18n outside of the standard component structure (e.g., in ...
Smart dev's user avatar
0 votes
1 answer
85 views

How can I implement language switching in my Angular application using the official Angular i18n library?

I would like to enable language switching in my Angular application by using the official Angular i18n library, as the previously popular library (ngx-translate) is now in maintenance mode and will be ...
Jos3lu's user avatar
  • 188
0 votes
1 answer
43 views

Is `Intl` object still expensive to create?

Several years ago, I read somewhere in MDN that creating Intl object like NumberFormat is expensive, and we should only create one then reuse. One benchmark in 2014 also agrees. However, I can't find ...
Minh Nghĩa's user avatar
  • 1,053
1 vote
1 answer
74 views

Powershell: Correct syntax of Install-Language?

I'm trying to programmatically deploy "Basic Typing" for a range of languages via PowerShell to a fleet of Windows PCs. Although I am a coder, I don't have much experience in PowerShell ...
zevgeny's user avatar
  • 13
0 votes
0 answers
56 views

How to support multiple languages in an Angular project using only official libraries

I am fairly new to frontend web programming, and especially new to Angular. I have an Angular project that is written in a certain language (English), I now want to have it available in other ...
Ward Zidani's user avatar

15 30 50 per page
1
2 3 4 5
791