Akopia Akopia Services

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

[mv] some locales issues



******    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.. ;)

---

 Mglcel
  mglcel@linuxfr.net

  It's simply unbelievable how much energy and creativity people have
  invested into creating contradictory, bogus and stupid licenses...
          --- Sven Rudolph about licences in debian/non-free.
	  
-
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: