[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] some locales issues
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
Administrateur schrieb:
>
> ****** message to minivend-users from Administrateur <admin@groupe-internet.com> ******
>
> Hi,
>
> I have some problems with the locales system
> I have made a MySQL locale database, it runs nicely but
> only money locales run fine. somewhere the [L][/L] tags
> are printed on the HTML code or if there are interpreted
> by minivend, the translation isn't made...
> Is this problem common ?
>
> in my catalog.cfg file :
>
> ##----- Locales -----##
>
> Locale fr_FR francais
> Locale en_US english
> LocaleDatabase locale
>
> ##-------------------##
>
> and in my table definition :
>
> ##-------------------##
> ParseVariables Yes
>
> Database locale locale __DBISQL__
>
> #ifdef SQLUSER
> Database locale USER __DBI_USER__
> #endif
>
> #ifdef SQLPASS
> Database locale PASS __DBI_PASS__
> #endif
>
> Database locale KEY code
> Database locale COLUMN_DEF "code=char(256)"
> Database locale COLUMN_DEF "en_US=char(256)"
> Database locale COLUMN_DEF "fr_FR=char(256)"
>
> ParseVariables No
> ##-------------------##
>
> some table entries :
>
> +-------------------+---------+---------+
> | code | en_US | fr_FR |
> +-------------------+---------+---------+
> | english | english | anglais |
> | currency_symbol | $ | FF |
> | PriceDivide | 1 | 0.1632 |
> | decimal_point | . | . |
> | default | 1 | 0 |
> | frac_digits | 2 | 2 |
> | mon_decimal_point | . | , |
> | mon_thousands_sep | , | . |
> | p_cs_precedes | 1 | NULL |
> +-------------------+---------+---------+
>
> all concerning money is right but a [L]english[/L] tag :
> - print [/L]english[/L] in the HtML code
> or
> - always print "english"
>
> even if i precise :
>
> [setlocale fr_FR]
> [L]english[/L]
>
> Thx a lot for a fast answer is anyone could find my mistake.. ;)
How about
[loc]english[/loc]
instead of
[L]english[/L]
?
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