hello, is there a token or function, which gets a string of the currency like en-US or de-DE ???
hello, is there a token or function, which gets a string of the currency like en-US or de-DE ???
This is in the System node during runtime at:
<root>
<System>
...
<LocaleSetting>en-US</LocaleSetting>
You can get it in a XMLpackage with:
<xsl:value-of select="/root/System/LocaleSetting" />
Possibly a more convenient way to acquire the current customer localization setting is to use the Locale Setting property of the customer class:
Customer.Current.LocaleSetting
Greetings .... I'm working from Venezuela and I need that money to be used is the bolivar as I can do to change the currency symbol please i need your big help
I was looking for the same thing...
in the template page, you'll use a token
in aspx.cs pages you can useCode:(!LOCALESETTING!) - Returns the current locale of the customer viewing the page
in the xml packages you can useCode:ThisCustomer.LocaleSetting
Code:<xsl:param name="LocaleSetting" select="/root/Runtime/LocaleSetting" />
Running AspDotNetStorefront ML 8.0.1.4