Questions tagged [localization]

Localization is the process of adapting a product or service to a particular language, culture, and desired local "look-and-feel".

Localization is the process of adapting internationalized software for a specific region or language by adding locale-specific components, translating text as well as formatting output based on specific locale (e.g. number and date formats, currency sign, etc).

Localization can be referred to by the numeronym L10N or l10n (as in: "L", followed by ten more letters, and then "N")

See also:

13710 questions
89
votes
1 answer

Internationalization in JSF, when to use message-bundle and resource-bundle?

When and how should I use and tags for localization in faces-config.xml? The differences between those two are not very clear to me.
jsfQ
  • 925
  • 1
  • 8
  • 8
88
votes
11 answers

Android: how to get the current day of the week (Monday, etc...) in the user's language?

I want to know what the current day of the week is (Monday, Tuesday...) in the user's local language. For example, "Lundi" "Mardi" etc... if the user is French. I have read this post, it but it only returns an int, not a string with the day in the…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
88
votes
18 answers

Angular 9 introduced a global '$localize()' function that needs to be loaded

I'm getting the following error in my new angular project setup. Installed Packages and its versions ERROR Error: Uncaught (in promise): Error: It looks like your application or one of its dependencies is using i18n. Angular 9 introduced a…
85
votes
9 answers

Configure Visual Studio to show error messages in English

I'm currently working in another country, and my PC has a non-English version of Windows installed. I don't care about this, but I do care a lot when Visual Studio shows error messages because they are also localized to the same language as…
Hans
83
votes
3 answers

How to internationalize/localize a JSP/Servlet web application?

I learnt from Google that Internationalization is the process by which I can make my web application to use all languages. I want to understand Unicode for the process of internationalization, so I learnt about Unicode from here and there. I am…
IamIronMAN
  • 1,871
  • 6
  • 22
  • 28
78
votes
14 answers

How to change 'data-val-number' message validation in MVC while it is generated by @Html helper

Assume this model: Public Class Detail ... Public Property PercentChange As Integer ... end class and the view: @Html.TextBoxFor(Function(m)…
76
votes
8 answers

manual language selection in an iOS-App (iPhone and iPad)

My question: How can my iPhone-app tell the iOS, that the user did select a language in the apps preferences, that is different from the language set in the general settings? Other formulation of the same question: How can i tell the system, that…
Hubert Schölnast
  • 8,341
  • 9
  • 39
  • 76
76
votes
7 answers

Get values from *.resx files in XAML

Is it possible to add some value from resource file right into the XAML markup? Or for localization we always have to make something like this in *.cs file: txtMessage.Text = Messages.WarningUserMessage; Where Messages is resource, and txtMessage…
0x49D1
  • 8,505
  • 11
  • 76
  • 127
76
votes
5 answers

Changing language on iOS 8.1 simulator does not work

If I change the language on an iOS 8.1 simulator to anything and try to detect this from code with NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0]; NSLog(@"Language: %@", language); I get "en" back. I've tried resetting the…
Janos
  • 1,987
  • 3
  • 17
  • 24
74
votes
8 answers

What is the actual differences between I18n/L10n/G11n and specifically what does each mean for development?

Possible Duplicate: Localization and internationalization, what’s the difference? I18n/L10n/G11n all equal localization to me, but people keep making distinctions among these, especially in corporate and marketing, but I'm failing to see how…
Robert Gould
  • 68,773
  • 61
  • 187
  • 272
72
votes
19 answers

What's the environment variable for the path to the desktop?

I'm writing a Windows batch file and want to copy something to the desktop. I think I can use this: %UserProfile%\Desktop\ However, I'm thinking, that's probably only going to work on an English OS. Is there a way I can do this in a batch file…
Scott Langham
  • 58,735
  • 39
  • 131
  • 204
71
votes
6 answers

The R console is in my native language, how can I set R to English?

I am using R on Windows 7. Apparently R somehow found evidence that I speak languages besides English, and stubbornly insists on giving output in the console in my own language. For a variety of reasons, this is undesirable, and I want R to be…
Superbest
  • 25,318
  • 14
  • 62
  • 134
70
votes
8 answers

jQuery Datepicker localization

I need a french calendar and I can't understand the problem. I guess I'm not using the regional options like it should be. But... Here is my code : $(function() { $('#Date').datepicker({ showMonthAfterYear: false, showOn: 'both', …
69
votes
3 answers

Rails: How to make Date strftime aware of the default locale?

I have my default locale set in the environment.rb as de (German). I also see all the error messages in German, so the locale is picked up by the server. But when I try to print date with strftime like following: some_date.strftime('%B, %y') It…
rangalo
  • 5,448
  • 8
  • 46
  • 66
69
votes
10 answers

Is there a way to reverse the formatting by Intl.NumberFormat in JavaScript

The Intl.NumberFormat (see Mozilla's doc) provides a nice way in Javascript to format numbers into a current locale`s version like this: new Intl.NumberFormat().format(3400); // returns "3.400" for German locale But I couldn't find a way to reverse…
stollr
  • 6,534
  • 4
  • 43
  • 59