Questions tagged [internationalization]

Internationalization(i18n : representing "internationalisation" as "i" followed by 18 more letters, followed by "n") is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization. The internationalization process is sometimes called translation or localization enablement.

This is a matter not only of changing the language which the software presents (e.g. in its user interface), but of changing the date format, the orientation of the text, the numeric format, and other aspects of its behavior to reflect the culture.

11657 questions
5
votes
1 answer

Websphere Application Server 6.1 (localized): Override locale for console messages

I have installed RAD 7.5 (based on Eclipse Ganymede 3.4.0) in Spanish. I'm working with Websphere Application Server 6.1 (spanish too). The problem I have is that all console messages appear in Spanish, but translation is, in my personal opinion,…
5
votes
4 answers

How to get PHP to use internationalised dates?

I'm trying to get PHP dates to work cross language. The language code will be supplied according to the logged in user's language setting. I thought I could do this: setlocale(LC_ALL, 'de_DE.UTF-8'); echo strftime('%A %B %Y'); But the output…
bcmcfc
  • 25,966
  • 29
  • 109
  • 181
5
votes
2 answers

Special characters (and MooTools) are ruining my life

I'm working on localization for my toolkit. My goal is that if you were a German web developer and you wanted to use a forEach loop, rather then type ['hey', 'there'].forEach(function () {}); they could type ['hey', 'there'].fürJeder(function ()…
McKayla
  • 6,879
  • 5
  • 36
  • 48
5
votes
1 answer

How do I internationalize an OSGi application using Eclipse?

I'm trying to internationalize an OSGi application using the "OSGi way" but I haven't had progress. By OSGi way I mean, using the capabilities the framework provides for it. I have internationalized Java applications before but I'd like to know how…
lealceldeiro
  • 14,342
  • 6
  • 49
  • 80
5
votes
1 answer

use i18n-2 in node.js outside of res scope

Im trying to aim so i can use i18n within functions that is called. I have the error: (node:15696) UnhandledPromiseRejectionWarning: TypeError: i18n.__ is not a function How can i make so i18n would work inside functions and dont have to be within…
maria
  • 207
  • 5
  • 22
  • 56
5
votes
1 answer

ASP.net MVC3 Multilingual Route Rewriting

Is there any good method to create route rewriting for a multilingual web application? The URL schema should be the following http:///{Language}/{Controller}/{Action}/{Id} but URLs without the Language part should also be supported, but…
Fionn
  • 10,975
  • 11
  • 54
  • 84
5
votes
3 answers

Automatic compare check in Angular i18n json files

I have 2 files en.json and xx.json with translations in Angular application. Common idea is to create translation in both files for multilanguage application, but sometimes some programmers adding translation just in one of these file, because they…
Gregor Albert
  • 819
  • 1
  • 11
  • 23
5
votes
2 answers

Using blocktrans with "with" and "count" keywords together

Is it possible to use {% blocktrans %} with "with" and "count" at the same time? The documentation describes only the separate using: {% blocktrans with foo|filter as bar and baz|filter as boo %} {% blocktrans count var|length as count %} I need…
Gregory
  • 473
  • 8
  • 14
5
votes
1 answer

Angular 7 i18n translation inside service, component and without template

I am trying to migrate from ngx-translate to Angular i18n approach and wanted to make sure a few points before migration. Is it possible to translate inside the service and component without any template? In ngx-translate it was possible using…
5
votes
1 answer

Spring Boot i18n in multi modules project

I have this multi modules project: Parent Pom | |----Main module (@SpringBootApplcation and application.properties) | |----Module I | |----Module II | |----Module III The main module depends on other modules and contains messages.properties and…
akuma8
  • 4,160
  • 5
  • 46
  • 82
5
votes
2 answers

Making sentence/word plural based on value

I'm wondering if there is a preferred or at least more readable/pretty/pythonic way to make a sentence plural based on data being put into it. Here's how I'm doing it now ret = f'Done! {deleted} entr{"y was" if deleted == 1 else "ies were"}…
Jab
  • 26,853
  • 21
  • 75
  • 114
5
votes
0 answers

What's the best way to get full ICU + CLDR support in React Native?

Are there any OSS tools that provide full ICU-level support for CLDR data in react native? We're currently using react-native-i18n and I just don't know where the data comes from. What I'm most interested in right now is formatting numbers and…
garmccor
  • 51
  • 2
5
votes
3 answers

How can I get laravel's locale in javascript?

I'm creating an app in four languages and every url goes like this: app.name/en/rest/of/the/url app.name/de/rest/of/the/url app.name/nl/rest/of/the/url app.name/fr/rest/of/the/url How can I get this in the javascript? I need to translate some…
Zbyszek Kisły
  • 2,110
  • 4
  • 26
  • 48
5
votes
2 answers

Java: howto write i18n string shorter

In Python/C++, I normally use _("string") for i18n string text. for Java, I use bundle.getString("string"). Obviously, it is uglier than Python/C++. How to write such code shorter?
zhongshu
  • 7,748
  • 8
  • 41
  • 54
5
votes
1 answer

It's possible i18n with Inform 7

If i want my story to be playable in diverse languages, is there any way of "extracting" the text from the story in order to translate it to languages other than english ? What i am thinking of would be something like the properties files in java…
Vicente
  • 53
  • 4
1 2 3
99
100