top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is a locale ID?

0 votes
218 views
What is a locale ID?
posted Nov 27, 2017 by Latha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

A locale is a specific geographical, political, or cultural region. The most commonly used locale ID consists
of two parts: language code and country code. For example, en-US, en-AU, hi-IN are all valid locale IDs that have
both language codes and country codes.

answer Nov 27, 2017 by Shivaranjini
Similar Questions
+1 vote

What is the best way to convert a currency string 'USD' to locale :en-US? Right now trying to make it flexible to show the money and symbol correctly based on the currency string (like 'USD' or 'AUD') stored against the user's record.

I need to be able to do the following based on say 'GBP' string:

  :en-GB) %>
...