[interchange-i18n] Easy ImageDir fallback

Stefan Hornburg Racke racke at linuxia.de
Sat Nov 17 09:51:00 UTC 2001


"Dan Browning" <danpb at mail.com> writes:

> I set the following in catalog.cfg:
> 
> ImageDir   __IMAGE_DIR__/
> Locale es_ES	ImageDir	__IMAGE_DIR__/es_ES/
> Locale en_US	ImageDir	__IMAGE_DIR__/
> 
> Is there a way to get it to only use the es_ES ImageDir *if* the file
> actually exists (otherwise fall back to the default ImageDir)?
> 
> If not, what is the preferred method of getting that type of
> functionality (without manually copying all the images to each locale)?

I use symlinks for this purpose. 

Ciao
        Racke

-- 
Die Erde bleibt keine Scheibe. --- The earth remains no disk.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info at cobolt.net; Phone: 0041-1-3884400)



More information about the interchange-i18n mailing list