11,855 questions
0
votes
0
answers
20
views
SQLAlchemy_i18n creating translations causes errors
I have a strawberry graphql app that's using SQLAlchemy for models, and SQLAlchemy_i18n for internationalisation. I've followed the basic setup guide for i18n on the package docs but I just can't seem ...
0
votes
1
answer
57
views
Should one use `lang` attributes for proper nouns and loanwords?
I understand the various reasons to use the HTML lang attribute for pages and content-within-pages of different languages,1 but there are two specific cases where I'm not sure whether or not to use it:...
0
votes
0
answers
31
views
Can I apply different .textlintrc.json to different directory under the same workplace in VSCode?
I have my own tech blog made by Hugo, which supports multiple languages. And each of the directories for the posts are like:
content\ch\posts
content\ja\posts
content\en\posts
And I write the posts ...
0
votes
1
answer
54
views
Time Zone name to Internalization [duplicate]
Intl.supportedValuesOf('timeZone')
Above code will give list of all time zone in en-US like below
["Africa/Abidjan", "Africa/Accra" , "Africa/Addis_Ababa", ...]
Is ...
0
votes
1
answer
16
views
Is there a way to use lazy load in conjunction with initial resources for `react-i18next`?
I'm using i18next with React and Vite for loading the translation for my app. In the app, I have a child component that allows users to set a banner message in some languages, and it uses a key from ...
0
votes
0
answers
31
views
How to Validate Multiple Translations at Once with Mobility Gem?
I’m using the Mobility gem to handle translations in a Rails model and I’m encountering an issue when trying to validate translated attributes like name and description across multiple locales at once....
1
vote
2
answers
70
views
Is setlocale() in C restricted to locales shown by “locale -a”?
It seems like setlocale() in C (at least on Linux) only works if the locale you’re trying to set it to is one of those listed in the output of locale -a. Is this really true?
The reason I ask to ...
1
vote
1
answer
78
views
What's the best way to handle translatable strings in Swift? [closed]
I'm currently exploring the different options Swift provides for handling string localization. I would like to choose the right option.
Meanwhile I'm more confused, instead of becoming more sure. ...
0
votes
1
answer
48
views
Should I add l10n/app_localizations.dart to version control?
I have upgraded my Flutter project to not use a synthetic package.
There are now files generated under
lib/l10n/app_localizations.dart
lib/l10n/app_localizations_de.dart
lib/l10n/app_localizations_en....
0
votes
2
answers
53
views
Correct way to set i18n language with vue-i18n and typescript
I'm trying to dynamically change the language and persist it with localStorage, I use vue3 + vue-i18n + typescript.
According to the official documentation, I should use composite API and modify i18n....
0
votes
0
answers
16
views
404 Page not Displaying in Localized Next.js 14 App
I have a localized Next.js 14 app. I followed the setup described in the Nextjs i18n docs, and I have my root layout within an /app/[lang] directory. When I add a 404 page to this directory (/app/[...
0
votes
0
answers
21
views
Next.js - localized static builds for each language
I need to generate a simple static website build for all the languagues defined in translations.json and I've decided to use Next.js with Page router. Let's say I have:
en: {
title: 'Hello World',
...
0
votes
0
answers
43
views
HydrationError when using next-i18n with Next.js and TypeScript
I am trying to implement internationalization using react-i18n in my frontend application.
The application uses TypeScript and Next.js.
I have set up two languages, English and Finnish, along with a ...
0
votes
0
answers
42
views
i18n Localization text comment issue after angular upgrade 17 - 18
Upgraded the angular project from 17 to 18. After upgrade the text where I user i18n localization are being comment out on runtime. It works in starting and then all the localization text HTML gets ...
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&...