[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Locale again !
Hi,
place this on top of you page:
[if scratch mv_locale eq ""]
[setlocale locale=fr_FR persist=1]
[/if]
[scratch mv_locale]
This forces the site to be fr_FR.
This shuold display on top of your page: fr_FR
Then check your catalog.cfg file and uncomment all other locales that
you don't need (I'm not sure what the LC_CTYPE means, it works with fi_FI,
but delete it if it gives you trouble):
Locale fr_FR LC_CTYPE fr_FR
#Locale en_US LC_CTYPE C
LocaleDatabase locale
Then check your locale database and place an 1 to the default
column:
code fr_FR en_US de_DE
default 1 0 0
This should work. It works fine on my system with fi_FI.
René
On Mon, 12 Feb 2001, ACC&S wrote:
> Date: Mon, 12 Feb 2001 10:42:39 +0100
> From: ACC&S <cpi@accxs.net>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: Re: [ic] Locale again !
>
> Thanks Rene for you response, but is not a problem with mv_locale variable.
> Before your solution, this varaible was on fr_FR.
> I find this in the mailing list :
> (http://developer.akopia.com/archive/interchange-users/2000/msg09228.html)
> The result for me is : ProductFiles: products,fr_products DefaultLocale:
> current locale:
> ([scrath mv_locale] = fr_FR)
> But my english is very poor and i don't understand the solution...
> if you have a moment...
>
>
>
> ----- Original Message -----
> From: Rene Hertell <rene@hertell.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 09, 2001 10:55 PM
> Subject: RE: [ic] Locale again !
>
>
> > Try this:
> >
> > [if scratch mv_locale eq ""]
> > [setlocale locale=fr_FR persist=1]
> > [/if]
> >
> > or just [setlocale locale=fr_FR persist=1]
> >
> > Rene
> >
> > } -----Original Message-----
> > } From: interchange-users-admin@lists.akopia.com
> > } [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
> > } Sent: 09 February 2001 18:32
> > } To: interchange-users@lists.akopia.com
> > } Subject: [ic] Locale again !
> > }
> > }
> > } I sent a previous message about this problem
> > }
> > } [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
> > }
> > } This is in my catalog.cfg
> > }
> > } ProductFiles products fr_products
> > }
> > } # Uncomment only if you have these locales on your system
> > } Locale de_DE
> > } #Locale de_DE LC_CTYPE de_DE
> > } Locale fr_FR
> > } Locale en_US
> > }
> > } #Locale en_US LC_CTYPE C
> > } LocaleDatabase locale
> > }
> > }
> > } my locale.txt :
> > }
> > } code en_US de_DE fr_FR
> > } PriceDivide 0.5409 1 1
> > } currency_symbol $ DM FF
> > } decimal_point . . ,
> > } default 0 0 1
> > } frac_digits 2 2 2
> > } mon_decimal_point . , ,
> > } mon_thousand_sep
> > } mon_thousands_sep , , .
> > } p_cs_precedes 1
> > } p_sep_by_space 1
> > } price_picture DM ### ### ###,##
> > } ProductFiles products de_products fr_products
> > } products products de_products fr_products
> > } C.Catalogue Catalog Katalog Catalogue
> > }
> > } If I try with [L]C.Catalogue[/L] in french version the result
> > } is C.Catalogue
> > } and no Catalogue.
> > }
> > } Could you explain me what is wrong or I need to do
> > }
> > }
> > }
> > }
> > }
> > } _______________________________________________
> > } Interchange-users mailing list
> > } Interchange-users@lists.akopia.com
> > } http://lists.akopia.com/mailman/listinfo/interchange-users
> > }
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users