Top "Locale" questions

In computing, locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface.

How can I get my Android device country code without using GPS?

An Android mobile actually does know quite well where it is - but is there a way of retrieving the …

android locale
How can I format date by locale in Java?

I need to format date to app that has many languages, what is best way to format date, because every …

java date formatting locale
how to detect operating system language (locale) from java code

What is the correct way of knowing operating system language (locale) from java code? I have tried Locale.getDefault() System.…

java windows properties system locale
Using Locales with Java's toLowerCase() and toUpperCase()

I wanted code to convert all the characters in strings to uppercase or lowercase in Java. I found a method …

java string locale
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 …

java internationalization locale
en_US or en-US, which one should you use?

Assume you want to store the locale of user preference in database, which value you will use? en_US or …

java localization locale
Locale date formatting in Python

How do I get datetime.datetime.now() printed out in the native language? >>> session.deathDate.strftime("%a, %…

python date locale
MongoDB mongorestore failure: locale::facet::_S_create_c_locale name not valid

I created a dump with mongodump on computer A (ubuntu 12.04 server). I moved it to computer B (ubuntu 12.04 server) and …

mongodb locale ubuntu-12.04 mongodump mongorestore
convert decimal mark

I have a CSV file with data reading that I want to read into Python. I get lists that contain …

python locale decimal-point
Decimal separator in NumberFormat

Given a locale java.text.NumberFormat: NumberFormat numberFormat = NumberFormat.getInstance(); How can I get the character used as Decimal separator (…

java locale number-formatting