11,819 questions
1 vote
1 answer
120 views
How do I select the right language for my C program's output?
I am writing a C application, to be distributed as a single static binary (so it doesn't have a chance to do anything like install message catalog files). It only needs to support a few natural ...
0 votes
0 answers
27 views
Why default language doesn't redirect me to /fa?
import { defineI18n } from "fumadocs-core/i18n"; export const i18n = defineI18n({ defaultLanguage: "fa", languages: ["en", "fa", "cn"], ...
Advice
1 vote
0 replies
48 views
Does CLDR specify language-specific versions of "Label: Text"?
In German and English, we use a colon followed by a space to separate a term from its explanation, or a label from the text that follows. But other languages do it differently. Rather than have a &...
0 votes
2 answers
42 views
Next.js multilingual routing. Main page site.com always redirect to site.com/en instead of staying on site.com
devs! I'm trying to build a multilingual website based on Next.js(15.6) Node 22.21.10. Locally I have no issue with routing everything works as expected. Both lang versions are served as expected. (...
1 vote
1 answer
88 views
What to use instead of KeyboardEvent.keyCode for keyboard shortcuts across different layouts?
I have an application that relies on the deprecated keyCode property for keyboard shortcuts. I need to update my code to use a modern alternative that works consistently regardless of the user's ...
0 votes
1 answer
88 views
Is the lack of orthographic variant support for Scandinavian languages in the JavaScript Intl API a known limitation?
Official spelling reforms in Scandinavian languages in the 19th and 20th centuries replaced digraphs (two-letter combinations) with single, distinct letters: Danish: å = aa, æ = ae, ø = oe; Swedish: ...
1 vote
1 answer
75 views
iOS internationalization: What's the meaning of the placeholder?
Within "Localizable.xcstrings" string-catalog, for example "%lld click" or even more cryptic "%1$@-%2$@"? What's there meaning? How have it to read and understood?
0 votes
0 answers
52 views
nestjs use i18n in decorators of class-validator without indicate one by one
I'm researching that can I use i18n for the messages of validation exceptions. For example: create-user.dto.ts export default class createUserDto { @MinLength(5) @IsString() name: string; }...
-1 votes
2 answers
85 views
How to enforce identical keys across multiple i18n JSON translation files in TypeScript?
I’m working on a multilingual application with the following structure: messages/ ├── en.d.json.ts // baseline type definition ├── en.json ├── ja.json ├── zh-CN.json └── zh-TW.json Each file has ...
0 votes
2 answers
104 views
How to semantically indicate that a webpage is available in multiple languages
Is there a standard way that an HTML page written in one (human) language can indicate that a translation is available in another language? I know that I can mark up some text manually, saying ...
0 votes
0 answers
32 views
Vite warning about importing from /public from generated file by i18next-resources-for-ts cmd
The command i18next-resources-for-ts toc generates ressources.ts that imports from /public causing vite to spam warning when serving the app. Assets in public directory cannot be imported from ...
0 votes
0 answers
87 views
Nuxt 3 with i18n missing translations all the sudden
Out of the blue my Nuxt 3 project (which has been running fine for over 8 months) is missing translations. Translations which are clearly in the correct files. Also, when building the project, some of ...
25 votes
13 answers
3k views
How can I parse a string to a float in C in a way that isn't affected by the current locale?
I'm writing a program where I need to parse some configuration files in addition to user input from a graphical user interface. In particular, I'm having issues with parsing strings taken from the ...
0 votes
0 answers
39 views
Hugo i18n translation
In hugo, We can specify i18n translation keys for specific edition, but if the key is not present in the specific lang like es-xl.yaml, it should take the translation available from the default lang ...
0 votes
0 answers
94 views
How to internationalize existing database entries in a Full Stack project using Vite + i18n?
I’m building a Full Stack project where users can create items. Currently, the data is stored in the database in Portuguese (pt-BR). On the front-end, I’m using Vite + i18n to support multiple ...