On 2003-09-04(Thu) 14:43:45 +0200, Götz Waschk wrote:
> > Certainly possible, but since such case is not very common, and
> > dir/file structure of localization files can possibly be
> > different in each app, it is probably more convenient to use
> > %lang tag in file list instead.
> 
> It should be pretty easy if the apps use the right language codes,
> then you'd just have to do something like this:

Certainly, if structure is similar then it would be easy. But
somehow.... phpnuke immediately pops up in my mind.

Abel


> 
> 
> dir=/var/www/someapp/locale
> for langdir in $dir/*; do
>  language=$(basename $langdir)
>  echo "%lang($language) $langdir"
> done
> 
> CU
> -- 
> What difference does it make to the dead, the orphans and the
> homeless, whether the mad destruction is wrought under the name of
> totalitarianism or the holy name of liberty or democracy?
>     Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"
> 

-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to