Skip to main content
-1 votes
1 answer
52 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 ...
Tom Fan's user avatar
  • 560
0 votes
2 answers
86 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 ...
mattp's user avatar
  • 82
0 votes
0 answers
17 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 ...
Pazu's user avatar
  • 308
0 votes
0 answers
44 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 ...
Digital Forge's user avatar
25 votes
12 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 ...
Newbyte's user avatar
  • 3,865
0 votes
0 answers
28 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 ...
Kathiresh P's user avatar
0 votes
0 answers
85 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 ...
Rafael Drigo's user avatar
1 vote
0 answers
77 views

Payload CMS - i18n not working for REST API error messages

I'm using Payload CMS with a Next.JS frontend and axios for fetching data via the provided REST API. I need i18n support for the content as well as the interface, e.g. error and validation messages. ...
Constantin Müller's user avatar
0 votes
1 answer
60 views

Force change the language of my current input keyboard programmatically in Android

We are building a Multi-Lingual Business Application -- where the user is able to enter values and data in multiple languages. One of our main use cases is, if a user is editing or adding to a text ...
Anumey Sharma's user avatar
2 votes
1 answer
219 views

Tailwind doesnt apply on my Next JS 15 app

I wanted to implement multilanguage support with next-intl and I changed my file structure like this: app/ favicon.ico globals.css [locale]/ layout.tsx page.tsx (root)/ ...
Gritcu Bogdan's user avatar
1 vote
1 answer
60 views

Can I set a language attribute on the col element of a table

I have a table that has mixed languages. One column has English and the other column has another language. Is it possible to set the language for that column at a column level or do I need to set the ...
paceaux's user avatar
  • 1,922
0 votes
0 answers
36 views

How do I combine i18n-ally with Kaisermann/svelte-i18n library

I'm doing some internationalization with a Svelte project, and I'm using i18n-ally to do the language editing. i18n-ally does a great job of turning a block of code from: <p>Copyright &copy; ...
Argle's user avatar
  • 322
0 votes
1 answer
78 views

How to Combine Next.js 14 Middleware with next-intl for Localization, Province Subdomain Rewrites, and CORS?

I'm working on a Next.js 14 (and I want to configure localization) project using the App Router and need to combine three middleware functionalities: Province subdomain rewrites Localization with ...
WhyMe7's user avatar
  • 11
2 votes
1 answer
65 views

Equivalent of `supportedLocalesOf` for letter-case conversion (`toLocaleLowerCase`, `toLocaleUpperCase`)?

In JavaScript, you can introspect support for various internationalization functionality by use of static supportedLocalesOf methods of the various classes namespaced under Intl. For example: Intl....
Lionel Rowe's user avatar
  • 6,209
0 votes
0 answers
35 views

How to configure middleware to run and be debugged in next.js

Ultimately, I want to route requests to pages within subdomains in my next.js application. If I specify the correct subdomain in a route, I believe that I need to have a middleware.ts file under the ...
IMOsiris's user avatar
  • 155

15 30 50 per page
1
2 3 4 5
788