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
84
votes
9 answers

NSLocale currentLocale always returns "en_US" not user's current language

I'm in the processes of internationalizing an iPhone app - I need to make programmatic changes to certain views based on what the user's current locale is. I'm going nuts because no matter what the language preference on the iPhone simulator or…
prairiedogg
  • 6,323
  • 8
  • 44
  • 52
83
votes
3 answers

How to internationalize/localize a JSP/Servlet web application?

I learnt from Google that Internationalization is the process by which I can make my web application to use all languages. I want to understand Unicode for the process of internationalization, so I learnt about Unicode from here and there. I am…
IamIronMAN
  • 1,871
  • 6
  • 22
  • 28
83
votes
9 answers

Rails I18n, check if translation exists?

Working on a rails 3 app where I want to check if a translation exists before outputting it, and if it doesn't exist fall back to some static text. I could do something like: if I18n.t("some_translation.key").to_s.index("translation missing") But I…
agmcleod
  • 13,321
  • 13
  • 57
  • 96
82
votes
6 answers

HTML meta tag for content language

What is the difference between the following two HTML meta tags, for specifying spanish web page content: and
byneri
  • 4,050
  • 5
  • 27
  • 28
82
votes
10 answers

Best practice javascript and multilanguage

what is the best practice for multilanguage website using DOM Manipulating with javascript? I build some dynamic parts of the website using javascript. My first thought was using an array with the text strings and the language code as index. Is this…
marquies
  • 1,066
  • 1
  • 10
  • 17
79
votes
28 answers

Displaying Currency in Indian Numbering Format

I have a question about formatting the Rupee currency (Indian Rupee - INR). Typically a value like 450500 is formatted and shown as 450,500. In India, the same value is displayed as 4,50,500 For example, numbers here are represented…
Mihir
  • 2,480
  • 7
  • 38
  • 57
79
votes
6 answers

How to check whether a file is valid UTF-8?

I'm processing some data files that are supposed to be valid UTF-8 but aren't, which causes the parser (not under my control) to fail. I'd like to add a stage of pre-validating the data for UTF-8 well-formedness, but I've not yet found a utility to…
Ian Dickinson
  • 12,875
  • 11
  • 40
  • 67
79
votes
8 answers

Date formatting based on user locale on android

I want to display a date of birth based on the user locale. In my application, one of my fields is the date of birth, which is currently in the format dd/mm/yyyy. So if the user changes his locale, the date format should also change accordingly. Any…
shailbenq
  • 1,440
  • 1
  • 14
  • 25
77
votes
4 answers

Simplified and Traditional Chinese vs Regions

In the process of implementing traditional and simplified chinese support in my Android application and I confused on how this is supposed to work. So from reading the documentation as well as some discussions like this and this I have put…
Manfred Moser
  • 29,539
  • 13
  • 92
  • 123
76
votes
2 answers

Difference between CurrentCulture, InvariantCulture, CurrentUICulture and InstalledUICulture

What is the difference between CurrentCulture, InvariantCulture, CurrentUICulture and InstalledUICulture from System.Globalization.CultureInfo?
Diego Pacheco
  • 985
  • 1
  • 8
  • 14
74
votes
8 answers

What is the actual differences between I18n/L10n/G11n and specifically what does each mean for development?

Possible Duplicate: Localization and internationalization, what’s the difference? I18n/L10n/G11n all equal localization to me, but people keep making distinctions among these, especially in corporate and marketing, but I'm failing to see how…
Robert Gould
  • 68,773
  • 61
  • 187
  • 272
73
votes
4 answers

How to support Arabic text in Android?

I am getting Arabic text from server successfully. Retrieved text I want display in code but its showing boxes instead of Arabic text. Assume that t array values are Arabic text from server. string[] t={" "}; Textview tv = (Textview)…
babi
  • 779
  • 1
  • 6
  • 6
72
votes
4 answers

Floating Point Number parsing: Is there a Catch All algorithm?

One of the fun parts of multi-cultural programming is number formats. Americans use 10,000.50 Germans use 10.000,50 French use 10 000,50 My first approach would be to take the string, parse it backwards until I encounter a separator and use this…
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
72
votes
5 answers

Should I use accented characters in URLs?

When one creates web content in languages different than English the problem of search engine optimized and user friendly URLs emerge. I'm wondering whether it is the best practice to use de-accented letters in URLs -- risking that some words have…
Wabbitseason
  • 5,641
  • 9
  • 49
  • 60
71
votes
4 answers

Which encoding uses the \x (backslash x) prefix?

I'm attempting to decode text which is prefixing certain 'special characters' with \x. I've worked out the following mappings by hand: \x28 ( \x29 ) \x3a : e.g. 12\x3a39\x3a03 AM Does anyone recognise what this encoding is?
Alex Angas
  • 59,219
  • 41
  • 137
  • 210