Questions tagged [internationalization]

Internationalization(i18n : representing "internationalisation" as "i" followed by 18 more letters, followed by "n") is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization. The internationalization process is sometimes called translation or localization enablement.

This is a matter not only of changing the language which the software presents (e.g. in its user interface), but of changing the date format, the orientation of the text, the numeric format, and other aspects of its behavior to reflect the culture.

11657 questions
70
votes
6 answers

Multiple languages in an ASP.NET MVC application?

What is the best way to support multiple languages for the interface in an ASP.NET MVC application? I've seen people use resource files for other applications. Is this still the best way?
Lance Fisher
  • 25,684
  • 22
  • 96
  • 122
70
votes
8 answers

jQuery Datepicker localization

I need a french calendar and I can't understand the problem. I guess I'm not using the regional options like it should be. But... Here is my code : $(function() { $('#Date').datepicker({ showMonthAfterYear: false, showOn: 'both', …
69
votes
12 answers

What does I18N safe mean?

I came across a comment in some code referring to said code being "I18N safe". What does this refer to?
Redwood
  • 66,744
  • 41
  • 126
  • 187
69
votes
8 answers

Are email addresses allowed to contain non-alphanumeric characters?

I'm building a website using Django. The website could have a significant number of users from non-English speaking countries. I just want to know if there are any technical restrictions on what types of characters an email address could…
Continuation
  • 12,722
  • 20
  • 82
  • 106
69
votes
10 answers

Is there a way to reverse the formatting by Intl.NumberFormat in JavaScript

The Intl.NumberFormat (see Mozilla's doc) provides a nice way in Javascript to format numbers into a current locale`s version like this: new Intl.NumberFormat().format(3400); // returns "3.400" for German locale But I couldn't find a way to reverse…
stollr
  • 6,534
  • 4
  • 43
  • 59
67
votes
1 answer

Is there a good flag icon pack that corresponds to ISO-3166 Country Codes?

I'm in need of an icon pack containing flags that correspond with ISO-3166 country codes such as US, CA, SE, DE etc. Optimally the flag icons would have names such as us.png, ca.png and so on. I'm guessing this is a common developer necessity making…
Hubro
  • 56,214
  • 69
  • 228
  • 381
67
votes
6 answers

hardcoded string "row three", should use @string resource

I'm a beginner android developer , I was trying to run this Linear Layout in eclipse :
user941015
67
votes
1 answer

Meaning of leading underscore in list of tuples used to define choice fields?

I've seen a few examples defining choice fields like so: COUNTRIES = ( ('fr', _('France')), ('de', _('Germany')), ... ) (Source: http://code.djangoproject.com/ticket/5446 Also see: http://djangosnippets.org/snippets/494/) What is the…
User
  • 62,498
  • 72
  • 186
  • 247
67
votes
2 answers

Regex to match Egyptian Hieroglyphics

I want to know a regex to match the Egyptian Hieroglyphics. I am completely clueless and need your help. I cannot post the letters as stack overflow doesnt seem to recognize it. So can anyone let me know the unicode range for these characters.
user4628064
66
votes
8 answers

Where can I find a list of language + region codes?

I have googled (well, DuckDuckGo'ed, actually) till I'm blue in the face, but cannot find a list of language codes of the type en-GB or fr-CA anywhere. There are excellent resources about the components, in particular the W3C I18n page, but I was…
Dɑvïd
  • 1,929
  • 2
  • 16
  • 26
65
votes
8 answers

Localizing in Xcode 4 with Localizable.String

I just updated to Xcode 4. Normally when localizing apps we add "Localizable.String" file to the project, and then navigate to "Get Info" menu and click the "Make It Localized" button. However, in Xcode 4, there is no "Get Info" menu. When I try to…
jacob
  • 651
  • 1
  • 6
  • 3
65
votes
3 answers

Whether to use "SET NAMES"

In reading "High performance MySQL" from O'Reilly I've stumbled upon the following Another common garbage query is SET NAMES UTF8, which is the wrong way to do things anyway (it does not change the client library's character set; it affects…
user187291
  • 53,363
  • 19
  • 95
  • 127
64
votes
5 answers

How to format localised strings in Swift?

I am learning to localise my app to Simplified Chinese. I am following this tutorial on how to do this. Because the tutorial is based on Obj-C, formatted strings can be written like this: "Yesterday you sold %@ apps" = "Ayer le vendió %@…
Sweeper
  • 213,210
  • 22
  • 193
  • 313
64
votes
6 answers

how to send through ServletOutputStream characters in UTF-8 encoding

My servlet code looks like that: response.setContentType("text/html; charset=UTF-8"); response.setCharacterEncoding("UTF-8"); ServletOutputStream out = response.getOutputStream(); out.println(...MY-UTF-8 CODE...); ... then I get the…
GyRo
  • 2,586
  • 5
  • 30
  • 38
61
votes
6 answers

What is The Turkey Test?

I came across the word 'The Turkey Test' while learning about code testing. I don't know really what it means. What is Turkey Test? Why is it called so?
Dhanapal
  • 14,239
  • 35
  • 115
  • 142