[Xfce-i18n] zh_TW translations for some Xfce-goodies
Jannis Pohlmann
jannis at xfce.org
Sun Apr 9 16:52:42 CEST 2006
On Sun, 9 Apr 2006 23:42:49 +0900
Daichi Kawahata <daichi at xfce.org> wrote:
> On Sun, 9 Apr 2006 11:16:32 -0300
> Adriano Winter Bess wrote:
>
> > On Sun, Apr 09, 2006 at 04:11:40PM +0200, Jannis Pohlmann wrote:
> >
> > > You mean like
> > >
> > > linguas=`ls po/ | grep '.po $' | sed 's/.po $//g'`
> > > sed -e "s/@LINGUAS@/${linguas}/g" < "configure.in.in" >
> > > "configure.in"
> >
> > Yes, I did something similar for xfapplet.
> >
> > > Sure, that would work. I could even use
> > >
> > > LINGUAS=`ls po/ | grep '.po $' | sed 's/.po $//g'`
> > > AC_SUBST([LINGUAS])
> > > XDT_I18N([@LINGUAS@])
> > >
> > > in configure.in.in, I think. Not sure if that would work
> > > as I'm still unexperienced with autoconf.
> >
> > I'm not sure either.
>
> I must say I'm third here.
>
> If both of you have an idea about that, please ask Benedikt
> to include them into M4 macro xdt-i18n.m4 (xfce4-dev-tools),
> we can still experiment on it, as there's no fixed way to do.
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.
- Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20060409/a99151da/attachment.pgp>
More information about the Xfce-i18n
mailing list