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:

12833 questions
653
votes
25 answers

Get the current language in device

How can we get the current language selected in the Android device?
Pinki
  • 20,511
  • 14
  • 53
  • 86
519
votes
31 answers

How can I get the current date and time in UTC or GMT in Java?

When I create a new Date object, it is initialized to the current time but in the local timezone. How can I get the current date and time in GMT?
Behrang
  • 8,911
  • 6
  • 21
  • 19
499
votes
26 answers

Change app language programmatically in Android

Is it possible to change the language of an app programmatically while still using Android resources? If not, is it possible to request a resource in an specific language? I would like to let the user change the language of the app from the app.
hpique
  • 112,774
  • 126
  • 328
  • 461
493
votes
5 answers

What is the significance of 1/1/1753 in SQL Server?

Why 1753? What do they have against 1752? My great great great great great great great grandfather would be very offended.
Daniel
  • 6,068
  • 6
  • 29
  • 29
483
votes
26 answers

JavaScript for detecting browser language preference

I have been trying to detect the browser language preference using JavaScript. If I set the browser language in IE in Tools>Internet Options>General>Languages, how do I read this value using JavaScript? Same problem for Firefox. I'm not able to…
Annibigi
  • 5,415
  • 5
  • 19
  • 20
404
votes
14 answers

What is the list of supported languages/locales on Android?

I'd like to know what to name my folder for different languages. Where can I find the supported list of languages on Android?
Andreas Gustafsson
  • 321
  • 3
  • 5
  • 16
318
votes
16 answers

Exception messages in English?

We are logging any exceptions that happen in our system by writing the Exception.Message to a file. However, they are written in the culture of the client. And Turkish errors don't mean a lot to me. So how can we log any error messages in English…
Carra
  • 16,707
  • 5
  • 58
  • 73
281
votes
9 answers

How to use localization in C#

I just can't seem to get localization to work. I have a class library. Now I want to create resx files in there, and return some values based on the thread culture. How can I do that?
JL.
  • 71,902
  • 119
  • 298
  • 446
266
votes
27 answers

How to force NSLocalizedString to use a specific language

On iPhone NSLocalizedString returns the string in the language of the iPhone. Is it possible to force NSLocalizedString to use a specific language to have the app in a different language than the device ?
258
votes
12 answers

Schema for a multilanguage database

I'm developing a multilanguage software. As far as the application code goes, localizability is not an issue. We can use language specific resources and have all kinds of tools that work well with them. But what is the best approach in defining a…
qbeuek
  • 3,975
  • 4
  • 17
  • 17
245
votes
10 answers

Best way to determine user's locale within browser

I have a website (Flash) localized into a dozen of languages and I want to auto-define a default value depending on the user's browser settings in order to minimize the steps to access the content. FYI, I cannot use server-scripts due to proxy…
Theo.T
  • 7,905
  • 3
  • 21
  • 34
233
votes
17 answers

What's NSLocalizedString equivalent in Swift?

Is there an Swift equivalent of NSLocalizedString(...)? In Objective-C, we usually use: NSString *string = NSLocalizedString(@"key", @"comment"); How can I achieve the same in Swift? I found a function: func NSLocalizedString( key: String, …
Rafa de King
  • 37,274
  • 22
  • 102
  • 134
231
votes
15 answers

Is it possible to update a localized storyboard's strings?

I localized a part of my application with creating a base.lproj storyboard and 3 string files for it. It was a month ago and after that I added new view controller to app, but this controller's buttons and labels not appear in string files Is it…
GeLB
  • 2,311
  • 2
  • 11
  • 5
208
votes
15 answers

Localization and internationalization, what's the difference?

I was going to ask a question about preparing a desktop application to support multiple languages on the UI. In my search for existing questions on the topic I was thinking the word "International", so I selected the Internationalization tag and…
Ash
  • 57,515
  • 31
  • 146
  • 168
189
votes
13 answers

Lint: How to ignore " is not translated in " errors?

I can't compile/debug our Android app, because the localization files are not perfect yet. My IDE's validation tool Lint create errors saying: newCardsOrderVals is not translated in ar, bg, ca, cs Compiling/installing/running with Ant works fine,…
1
2 3
99 100