Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Finding current locale?



Hi,

In 4.7x, how can I determine the current locale setting?

I need to display the Price header (as opposed to the price itself) in the
product listings and cart as e.g.  "IR£ Price" or "US$ Price" depending upon
the user's locale setting. However, I can't find any variable that contains
the actual locale setting (i.e. en_US) so that I can key on it to get the
currency_symbol. I can hard-code it but this is not a good solution.

Any help much appreciated.

-Barry Flanagan
 Creative & Technical Director
 DigiServe Ltd.
 Dublin, Ireland

 GPG Key ID: 0AEDE2D8



Search for: Match: Format: Sort by: