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
6
votes
1 answer

what to use instead of the deprecated locale

I am trying to return the locale in my app with this line of code: Locale current = getResources().getConfiguration().locale; The minSdkVersion is 15 and compiling with 24. But locale is deprecated, does it affect my app efficiency? Is there any…
NawalSalameh
  • 109
  • 1
  • 13
6
votes
3 answers

Django makemessages for apps in site-packages

How can I collect translation strings outside of my project folder using Django's built-in makemessages facility? The management command makemessages is very convenient and I'd like to use it for applications located in site-packages.
viam0Zah
  • 25,949
  • 8
  • 77
  • 100
6
votes
3 answers

How do I change the language of the Microsoft C# compiler's error messages?

Their Russian translation is invalid and confusing. E.g. in some messages language keywords were translated. So I want to see the original versions (in #develop, LINQPad, ASP.NET errors etc). UPDATE This great site helps find original English error…
thorn0
  • 9,362
  • 3
  • 68
  • 96
6
votes
1 answer

Get ASP.NET Core model errors in a specific language other than english

I use DataAnnotation for validating models in ASP.NET Core. But when I have a required field, I got the error message in english when its missing like in this example: class MyModel { [Required] [Display(Name = "Seitentitel")] public…
Lion
  • 16,606
  • 23
  • 86
  • 148
6
votes
0 answers

Localization workflow for updating development language

I have a project where I've setup localization using NSLocalizedString with keys instead of actual values for text parameters, i.e. something like this: NSLocalizedString("RunningDistance", "distance for a marathon") instead of…
Shoaib Ahmed
  • 424
  • 2
  • 9
6
votes
2 answers

Localization of enum in Spring Thymeleaf

In a form I have radio buttons that correspond to an enum: public enum EleType { INTEGER, CHARACTER } The html of the form is:
user1583209
  • 1,637
  • 3
  • 24
  • 42
6
votes
0 answers

Xcode 8 - Localized xcassets catalog?

I'm trying to localize some of my images in the Assets.xcassets catalog. Is there a simple way to do so? Without defining something in code in my ViewController. Just doing this by the storyboard or something. Thanks in advance!
Charlotte1993
  • 589
  • 4
  • 27
6
votes
3 answers

The best way to do localization in Unity

I am building an android game with unity and I would like to add 1 or more language. I tried the smart localization asset in the asset store. I was searching for an asset that would allow me to edit language directly from the text component (in the…
Sekki
  • 99
  • 1
  • 2
  • 8
6
votes
0 answers

Xcode export XLIFF for development language

When trying to export XLIFF for my development language there is no way to include translations. I have a development language set to Czech like this When I want to export existing translations for Czech - there is no checkbox for that I can…
Viktor Kucera
  • 6,177
  • 4
  • 32
  • 43
6
votes
1 answer

How to localize app name when using XCode 8 and Swift 3

I have updated to Xcode 8 and Swift 3 and now my localized app names are not showing below the icon on the device or emulator home screen. Everything was working fine with Xcode 7.3. I have defined a InfoPlist.strings file which has the…
gbotha
  • 1,231
  • 17
  • 23
6
votes
0 answers

Flask-Babel Choose right locale using Accept-Language header

Say I have an application with a few translations available: AVAILABLE_LOCALES = ['en_US', 'en_EN', 'de_AT'] and I'd like to select the most appropriate according to the Accept-Language header.  Using request.accept_languages.best_match To get the…
Jérôme
  • 13,328
  • 7
  • 56
  • 106
6
votes
2 answers

Swift - How to use localisation from Shared Extension

How can I use container apps localized strings from shared extension in Swift. I have already added containers strings files into extension -> build phase -> compile sources but its still not working. Should I set anything in configuration? From…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
6
votes
4 answers

Php on docker : Using setLocale

I'm trying to migrate an existing Apache/php site to docker and have problem with site localization. Digging into the code, the problem is that setLocale is returning false on Docker install (and true on the existing site). Here is a php test that…
Jean-Marc Astesana
  • 1,242
  • 3
  • 16
  • 24
6
votes
1 answer

Can i get facebook user information in a specific Locale via facebook connect?

I'm using facebook connect to let users login my application easy. It works well, but, after users allow me to get their facebook info as email, birthday, gender and so on, facebook gives me back these data in user's specific locale. So, if a user…
Stefan Manastirliu
  • 3,704
  • 3
  • 24
  • 18
6
votes
3 answers

What's the best way to provide localization for Enums?

I'm writting a multi-lingual application that uses many enums, and I'd like to achieve the following objectives: Display Enum names as localized strings Provide localized descriptions using attributes Enable…
Mark
  • 9,320
  • 6
  • 57
  • 70