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

73 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…
78
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) …
41
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
  • 1,065
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…
26
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…
18
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
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
  • 32,069
17
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
  • 281
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,234
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…
14
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
  • 267
  • 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,040
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
10
votes
0 answers

Is there any guideline from Unicode on how to deal with graphemes that have no base character?

A valid sequence of code-points can begin with one or more combining mark, which form a grapheme cluster that has no base glyph. I'm unsure how that should be handled, if at all. For example, consider a string consisting solely of an accent, with no…
Wes
  • 872
  • 6
  • 13
1
2 3 4 5