If you set Locale keys corresponding to some MiniVend catalog.cfg
directives, those values will be set when setting the locale.
# Establish the default at startup PageDir english Locale fr_FR PageDir francais Locale en_US PageDir english
# Establish the default at startup ImageDir /images/english/ Locale fr_FR ImageDir /images/francais/ Locale en_US ImageDir /images/english/
# Establish the default at startup PriceField price Locale fr_FR PriceField prix
The default will always be price, but if the locale fr_FR
is set, the PriceField directive will change to prix
to give prices in francs instead of dollars.
If PriceBreaks is enabled, then the field prix
from the pricing database will be used to develop the quantity pricing.
NOTE: If no Locale settings are present, it will
always be price, irrespective of the PriceField setting. Otherwise it will always match PriceField.
# Default at startup is 1 if not set # Franc is strong these days! Locale fr_FR PriceDivide .20
The price will now be divided by .20
, yielding franc prices five times that of the dollar.
mon_thousands_sep
will be used for standard currency formatting. Ignored if using price_picture. Set to 1 or 0, to enable and disable respectively.
DO
NOT
USE Yes and No.
# Default at startup is Yes if not set PriceCommas Yes Locale fr_FR PriceCommas 0 Locale en_US PriceCommas 1
# Default at startup is 1 if not set # Franc is strong these days! UseModifier format Locale fr_FR UseModifier formats
If a previous setting was made for an item based on another locale, it will be maintained.
# Default at startup PriceAdjustment format Locale fr_FR PriceAdjustment formats
[item-description]
and
[description code]
tags.
# Establish the default at startup DescriptionField description Locale fr_FR DescriptionField desc_fr
[locale key]
and [/locale]
tags. See the example above.