Questions tagged [localization]

Localization (L10n) is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text.

Localization (L10n) is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text.

It is related but distinct of internationalization (i18n).

Internationalization and localization is a two-part process of product translation and cultural adaptation (for specific countries, regions or groups) to account for differences in distinct markets.

References

71 questions
124
votes
12 answers

Effective Strategies for Localization in .NET

I am developing the UI for a .NET MVC application that will require international localization of all content in the near future. I am very familiar with .NET in general but have never had a project that required such a significant focus on…
smartcaveman
  • 1,522
  • 2
  • 11
  • 11
77
votes
7 answers

What's the use case for formatting monetary values with a *system-dependent* currency symbol?

Many high-level programming languages have built-in features to format a number with a system-dependent currency symbol: -- Outputs $100.00 (en-US) or € 100,00 (de-AT) Console.WriteLine(100.ToString("C")); // C# ? FormatCurrency(100) …
39
votes
6 answers

Is the frontend or backend (API) responsible for formatting data in a specific locale?

In our company we had a discussion whether formatting data in a certain locale is the responsibility of the frontend application or of the API that provides data to it. Which of the following scenarios would be best practice? Scenario 1 The API…
Dario
  • 535
  • 1
  • 4
  • 9
38
votes
6 answers

How to properly localize numbers?

Which caveats should I be aware while localizing numbers in my front-end application ? Example: In Brazilian Portuguese (pt-BR) we split thousands with dots and decimals with commas. In US English (en-US) that's the contrary. In pt-BR we present the…
30
votes
12 answers

isn't number localization just unnecessary?

I've just read this page http://weblogs.asp.net/scottgu/archive/2010/06/10/jquery-globalization-plugin-from-microsoft.aspx One of the things they did was to convert the arabic date to the arabic calendar. I'm wondering if it is a good idea at all to…
Pacerier
  • 4,973
  • 7
  • 39
  • 58
24
votes
5 answers

Where should I do localization (server-side or client-side)?

I am currently developing a new web application based on a rich JavaScript client which communicates with multiple REST web services on my server. That application is intended to be used in at least two country with different languages, so we need…
gvo
  • 676
  • 2
  • 5
  • 14
17
votes
2 answers

What practices exist for locale-specific unit testing?

We recently discovered a locale specific issue in our application and while it was easy to fix (once we figured out what was going on), it got the team I'm on thinking about unit testing practices in this regard. We would like to catch these issues…
Adam Lear
  • 31,939
  • 8
  • 101
  • 125
17
votes
5 answers

How to organize localization string resources?

We're developing a large application, consisting of many small packages. Each package has its own set of resource files for localization. What's the best approach to organizing and naming the localization strings? Here are my thoughts so…
17
votes
3 answers

Accessing i18n objects from different scopes

I have been building a personal framework of mine which started off as a way to learn the MVC pattern and has progressed now into something that I like more than most frameworks out there (which is probably because I add what I like and change what…
php_nub_qq
  • 2,204
  • 4
  • 17
  • 25
16
votes
3 answers

Is it possible to write a generalized string reverse function that works for all localisations and string types?

I was just watching the Jon Skeet (with Tony the Pony) presentation from Dev-Days. Although "write a string reverse function" is coding interview 101 - I'm not sure that it's actually possible to write a general string reverse function, certainly…
Martin Beckett
  • 15,776
  • 3
  • 42
  • 69
15
votes
3 answers

Should I localize exception messages?

It is probably related to "Who should read Exception.Message if at all" and similar questions asked on this site, but I don't see how it is possible to always generate a custom message while avoiding exception messages. Also in .NET all exception…
username
  • 261
  • 2
  • 6
13
votes
5 answers

Handle localization in microservices architecture

I'm developing a multi culture application with different microservices, The microservices communicate with each others with integrations event, so when a new record is inserted the owner of the data send an integration events on a bus and the…
Sethlans
  • 257
  • 2
  • 4
12
votes
3 answers

How do you guys handle translation for software localization?

Most of the software I have written over my career has been built for English speaking customers, but recently I've been working on a project where localization of the UI for a wider range of languages is desired. I am just curious how other…
JohnFx
  • 19,052
  • 8
  • 65
  • 112
12
votes
2 answers

Localization in php, best practice or approach?

I am Localizing my php application. I have a dilemma on choosing best method to accomplish the same. Method 1: Currently am storing words to be localized in an array in a php file
sree
  • 269
  • 1
  • 3
  • 12
9
votes
2 answers

Best practices for internationalization: composed sentences?

I am working on a project where clients are able to create objects in a database. Each of these objects has a description string that describes the object. Let's assume we are looking at an object that represents a car: A red car manufactured by…
wsg
  • 199
  • 2
1
2 3 4 5