[Xfce-i18n] zh_TW translations for some Xfce-goodies

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sun Apr 9 17:58:57 CEST 2006


Jannis Pohlmann wrote:
> This seems to work fine:
> 
>   XDT_I18N([`ls po/ | grep '.po$' | sed 's/.po$//g'`])
> 
> Perhaps we could add a macro for defining po directores, like that:
> 
>   XDT_I18N_DIRS([po po-doc])
> 
> and have it resolved to something like
>  
>   LINGUAS=""
>   for dir in po po-doc; do
>     LINGUAS=$LINGUAS `ls $dir | grep '.po$' | sed 's/.po$//g'`
>   done
>   AC_SUBST([LINGUAS])
>   XDT_I18N([@LINGUAS@])
> 
> I'm not sure how these macros work, but it should be possible.

This one has two issues:

(a) You assume that builddir = sourcedir, which is not always the case.
I.e. it will already fail on 'make test'.
(b) The stuff in po and po-doc is different, and po/Makefile.in.in - for
which the LINGUAS setting is used - doesn't handle the stuff in po-doc.

> - Jannis

Benedikt



More information about the Xfce-i18n mailing list