Akopia Akopia Services

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

Re: [mv] setlocale, @@LANG@@ and @@CURRENCY@@ problems



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Nathan ZYLBERSZTEJN wrote:
> 
> ******    message to minivend-users from Nathan ZYLBERSZTEJN <zyloo@zylooplanet.net>     ******
> 
> Hi all,
> 
> I have 2 problems with internationalization and I don't see anything about
> it in the postings (Am I the only one ?!). I'm using MV 3.14 and linux
> 
> 1) when using [setlocale locale=fr_FR persist=1] , the language is set to
> french but the @@LANG@@ stays on en_US
> 
> 2) when using [setlocale currency=fr_FR], @@CURRENCY@@ is never set
> (doesn't return anything) and and cuurency changes after 2 loads.
> 
> Does anyone have an idea or already has this problem ?
> 
> Thanks
> 
> Nathan
> ZylooPlanet @ http://www.zylooplanet.net
> 
> ZYLOOPLANET.NET SPRL
> 79 rue G.STOCQ
> 1050 BRUXELLES / BELGIQUE
> 
> Nathan ZYLBERSZTEJN
> mobile : +32 (0) 75 97 91 72  -- Ne formez pas le 0 de l'étranger
> @ : zyloo@zylooplanet.net
 
First...go to the mailarchive. Second...look at catalog.cfg

## Default: none (U.S.)
#
# Sets the special locale array. See the documentation. The below
# definition will cause monetary value of 3,400.00 in U.S. notation
# to be displayed as 3.400,00. To remove the decimal places, make
# frac_digits '0'.
# 
Locale en_US mon_decimal_point .
Locale en_US mon_thousands_sep ,
Locale en_US frac_digits 2
Locale en_US currency_symbol $
Locale en_US p_cs_precedes 1

# to define the euro-Settings (PriceDivide is for converting from DM)
Locale eur_EUR p_cs_precedes       0
# this is great - you can even use HTML-Tags to display an euro-image
#Locale eur_EUR currency_symbol     "<IMG src="/images/icon/euro.gif">"
Locale eur_EUR p_sep_by_space      2
Locale eur_EUR mon_decimal_point   ,
Locale eur_EUR mon_thousands_sep .

Locale fr_FR frac_digits 2
Locale fr_FR p_cs_precedes 0
Locale fr_FR p_sep_by_space 2
Locale fr_FR frac_digits 2
Locale fr_FR mon_decimal_point   ,
Locale fr_FR mon_thousands_sep .
Locale fr_FR currency_symbol "FR"

Third...use [selocale fr_FR] in your first page.

Hope that helps you!

Regards,

	Joachim

-- 
-------------Hans-Joachim Leidinger---------------------

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: