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
128
votes
12 answers

How do I localize the jQuery UI Datepicker?

I really need a localized dropdown calendar. An English calendar doesn't exactly communicate excellence on a Norwegian website ;-) I have experimented with the jQuery DatePicker, their website says it can be localized, however that doesn't seem to…
124
votes
9 answers

StringFormat Localization issues in wpf

In WPF 3.5SP1 i use the last feature StringFormat in DataBindings: The problem I face is…
jonathan
124
votes
9 answers

How to change language of app when user selects language?

I want my app to support three languages Spanish,Portuguese & English. And give option to select language in app.I have made 1) 3 drawable folders drawable-es,drawable-pt,drawable. 2) 3 values folder values-es,values-pt,values.Change String.xml…
mukesh
  • 4,140
  • 5
  • 29
  • 40
123
votes
9 answers

How to localize ASP.NET MVC application?

What would be best practice to localize your ASP.NET MVC application? I would like to cover two situations: one application deployment in IIS which would handle multiple languages one language/application deployment. In first situation should you…
pirho
  • 2,972
  • 4
  • 23
  • 17
109
votes
26 answers

Coding in Other (Spoken) Languages

This is something I've always wondered, and I can't find any mention of it anywhere online. When a shop from, say Japan, writes code, would I be able to read it in English? Or do languages, like C, PHP, anything, have Japanese translations that they…
helloandre
  • 10,541
  • 8
  • 47
  • 64
107
votes
25 answers

Plurality in user messages

Many times, when generating messages to show to the user, the message will contain a number of something that I want to inform the customer about. I'll give an example: The customer has selected a number of items from 1 and up, and has clicked…
Øyvind Bråthen
  • 59,338
  • 27
  • 124
  • 151
104
votes
8 answers

How to use NSLocalizedString function with variables in Swift?

I'm trying to localize my app using NSLocalizedString. When I import the XLIFF file, most works like a charm but something do not and some string is not localized. I have noticed that the problem is from NSLocalizedString containing something…
msalafia
  • 2,703
  • 5
  • 23
  • 34
103
votes
11 answers

Best way to implement multi-language/globalization in large .NET project

I'll soon be working on a large c# project and would like to build in multi-language support from the start. I've had a play around and can get it working using a separate resource file for each language, then use a resource manager to load up the…
tjjjohnson
  • 3,270
  • 4
  • 31
  • 33
100
votes
6 answers

Changing the development language in Xcode

I need to set Spanish as development language for an iOS app. I'm already using Xcode 6, and I changed the Localization native development region entry in app's Info.plist (CFBundleDevelopmentRegion) from "en" to "es". However, in Project > Info >…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
96
votes
19 answers

How can I change locale programmatically with Swift

I am making ios app on XCODE 6.3 by Swift. And my app will have the choose language function like the image below I already have storyboard for my local language. But i can't find out how to change the localization programmatically off the app by…
Varis Darasirikul
  • 3,013
  • 5
  • 25
  • 35
96
votes
3 answers

Best practice to make a multi language application in C#/WinForms?

I've been looking into making applications suitable for multiple languages in C# since I need to work on a small project where this is the case. I have found basically two ways to do this: Set a form's Localizable property to true, set the Language…
pbean
93
votes
5 answers

en_US or en-US, which one should you use?

Assume you want to store the locale of user preference in database, which value you will use? en_US or en-US They are two standards, but which one you prefer to use as part of your own application? Updated: Is seems many web sites use dash instead…
Howard
  • 19,215
  • 35
  • 112
  • 184
92
votes
6 answers

What is the correct way to set Python's locale on Windows?

I'm attempting to sort a list of strings in a locale-aware manner. I've used the Babel library for other i18n-related tasks, but it doesn't support sorting. Python's locale module provides a strcoll function, but requires the locale of the process…
DNS
  • 37,249
  • 18
  • 95
  • 132
92
votes
8 answers

Set Culture in an ASP.Net MVC app

What is the best place to set the Culture/UI Culture in an ASP.net MVC app Currently I have a CultureController class which looks like this: public class CultureController : Controller { public ActionResult SetSpanishCulture() { …
ChrisCa
  • 10,876
  • 22
  • 81
  • 118
91
votes
1 answer

Difference between toLocaleLowerCase() and toLowerCase()

I was trying to fiddle with toLocaleLowerCase() and toLowerCase() methods. function ByLocale() { document.getElementById("demo").innerText.toLocaleLowerCase(); } function ByLower() { …
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219