[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] images and numbers
From: |
Owen Leonard |
Subject: |
Re: [Koha-devel] images and numbers |
Date: |
Sat Mar 6 09:07:34 2004 |
> Hi group,
> I need to know whether images and numbers from
> default/en directory
> should be copied (except those that need
> translation) into default/pl
> directory?
The way the templates are set up, it does seem best to duplicate the images in
your default/pl directory. Image references usually look like this:
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" width="150"
height="42"
alt="" hspace="0" vspace="0">
When the 'themelang' variable gets evaluated, it turns into something like
this:
/intranet-tmpl/default/en/
...which obviously uses both the theme and the language to determine where the
image resides. You'd have to hard-code the path to the default/en image
directory if you wanted to re-use those images.
Many of the images in the default/en directory contain bits of English, so in
most cases you would want to re-do them in your native language.
-- Owen