internationalization Questions

2

I am looking for a way of translating Zod error messages when using the next-intl package. Perhaps an alternative to Zod-i18n, instead of i18next. The reasons for picking next-intl instead of...
Windbreak asked 26/10, 2023 at 13:1

4

Solved

I need to solve a gender translation problem, and Django doesn't seem to have gettext contexts implemented yet... I need to translate from english: <p>Welcome, {{ username }}</p> In...
Laboy asked 25/8, 2009 at 15:39

3

I am migrating from Next.js /pages to /app and I have 2 languages en and es, the default language is en and the url structure is: English example.com/ example.com/blog/my-post Spanish example.co...
Klepht asked 8/9, 2023 at 17:35

6

I'm using i18next in a project and can't get around including html tags in translation files and having them properly rendered. An example of my .json translation file: "en": { "product": { "he...
Adorable asked 3/10, 2016 at 16:38

2

I use nuxtjs and i18n to build a static website with multiple languages. At the moment I have one json file per language. For better structure i want to split the file in multiple files per languag...
Arching asked 19/2, 2018 at 7:2

30

Solved

I have a question about formatting the Rupee currency (Indian Rupee - INR). Typically a value like 450500 is formatted and shown as 450,500. In India, the same value is displayed as 4,50,500 For ex...
Aril asked 21/3, 2011 at 14:41

3

As answered in How to ignore the system default Locale to retrieve resourceBundle you can configure in Java 8 or older to not fallback to default locale via: ResourceBundle.getBundle("MyResources"...
Sallyanne asked 24/5, 2017 at 20:2

3

I am developing a Flutter app and submitting it to App Store Connect and instantly get an email that the App was rejected because of ITMS-90683: Missing Purpose String in Info.plist Your app's cod...
Slippage asked 26/1, 2022 at 20:59

6

Solved

I built an angular-5 application using i18n that supports both french and english. I then deployed a separate version of the app for each supported language - dist |___ en/ | |__ index.html |...
Jewbaiting asked 17/4, 2018 at 23:51

2

I am creating a Flutter package that has some text inside it. I want the consumer application of my package to pass locale to it, based on that locale my package should decide whether to show this ...

1

Solved

I am trying to add internationalisation to my next.js project using @formatjs/intl-localematcher. I added a config file with the following code: // i18n.config.ts export const i18n = { defaultLoc...
Jenellejenesia asked 14/10, 2023 at 8:45

3

Solved

I'd like Intl.NumberFormat() to automatically convert between units from smaller to bigger ones based on common rules. I.e. a given number should be converted to between centimeters, meters, and ki...
Adhesion asked 21/4, 2021 at 20:0

6

I have used google translate as a language converter in my site but it displays annoying tool tips called 'Original text'. How do I disable this and any other better ideas/tools/apis to do this? T...

4

I am trying to find best concept of translations for my react app. I have a higher order component for translations and use it by: export default translate('MyComponent')(MyComponent); And insi...

5

Solved

How can i convert an SQL Server datetime value to a datetimeoffset value? For example, an existing table contains datetime values that are all in "local" server time. SELECT TOP 5 Change...
Buy asked 25/7, 2013 at 18:46

7

I've been trying to sort an i18n translations YAML file with Ruby so I can manage new translations in a better and organized way, but I've been wondering if there is something to ease the task. I ...
Rozella asked 1/9, 2011 at 20:13

1

I have language service to achieve internationalization in my app. Basically it works ok in dev mode and sometimes in production as well. My problem is that sometimes old version of my json files ...
Cypher asked 23/2, 2019 at 10:3

5

I have this piece of a code. I want to add error messages depending on user's locale, but yup throws errors, same if fields are filled in incorrectly [missing "en.login.emailRequiredError" transla...
Ecosystem asked 20/3, 2018 at 16:14

11

Solved

I'm trying to get Django's translation system to work, following the tutorial here. Here are my two views (one for direct output, one for template), neither one works. def home(request): output...

2

Solved

I am trying to generate the JS catalog for translating my JS strings. Folowing the docs, I am trying $ django-admin.py makemessages -d djangojs -l de processing locale de CommandError: errors hap...
Uplift asked 27/12, 2013 at 14:45

5

Solved

I implemented the new (official) localization for Flutter (https://pascalw.me/blog/2020/10/02/flutter-1.22-internationalization.html) and everything is working fine, except that I don't know how to...
Enos asked 22/12, 2020 at 15:10

4

I have a react native app and I am using expo. I want to translate my mobile app so I am going to use expo-localization and i18n-js which I have installed following in the expo documentation. Then ...
Shush asked 29/3, 2023 at 11:38

3

Solved

I have an Angular app which is store in a AWS S3 bucket and distributed by Cloudfront. Now I want to distribute my app in multiple languages. I've already translated my angular app and for each la...
Spark asked 2/3, 2018 at 9:50

2

Solved

Qt's translation function tr does not work in the main function but works fine in a QWidget member function. Why is that? int main(int argc, char *argv[]) { QApplication a(argc, argv); QDialog ...
Valois asked 7/1, 2010 at 11:50

4

I'm trying to construct a new Intl.Collator() object in Node.js. Does anyone know why the Intl object wouldn't be present in a Node runtime? According to MDN, it is specified as a Namespace by EC...
Hinduism asked 21/11, 2013 at 15:50

© 2022 - 2025 — McMap. All rights reserved.