[ic] Locale Pagedir

Ed LaFrance interchange-users@lists.akopia.com
Thu Jun 28 11:25:00 2001


At 12:04 PM 06/28/2001 +0200, you wrote:
>hi,
>
>I have a problem with the internationalization of Interchange 4.6.5.
>I installed it succesfully, but I need to make a localization of it, using 
>two languages: italian and english.
>I have set the use of two different database (I use the Interchange 
>internal database: products.txt), and I use very well [L][/L] and 
>[LC][/LC] and the Interchange server answers to [scratch mv_locale].
>All appear to go right, but I need to use two different directories for 
>images.
>I have seen that I need to use ImageDir but it doesn't work.
>
>I have in catalog.cfg
>
>## Set the image path for relative images
>ImageDir /construct/images/english/
>Locale en_US ImageDir /construct/images/english/
>Locale it_IT ImageDir /construct/images/italian/
>
>in this way the images can been shown, but, for the two languages, they 
>are taken always from the default directory (english).
>In the result page images have both this path:
>/construct/images/english/navigation/
>
>If I instead use:
>
>## Set the image path for relative images
>ImageDir /construct/images/english/
>Locale en_US ImageDir english/
>Locale it_IT ImageDir italian/
>
>it ignores the default and locales the images but the images can't be 
>shown because the directory is wrong.
>In the result pages infact images have this path:
>for italian ---  italian/italian/navigation/
>for english ---  english/english/navigation/
>It repeats twice the directory.
>

I don't think the ImageDir path should have a trailing "/".  Also, is there 
anything in your LocaleDatabase that might be overwriting your directives 
in catalog.cfg?

- Ed L.





===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================