Location of i18n files

Kai Blin kai at samba.org
Wed Aug 5 05:15:05 MDT 2009

On Tuesday 04 August 2009 03:14:27 boyang wrote:
> Kai Blin wrote:
> > Hi folks,
> >
> > I just stumbled over the fact that we seem to have two places where we
> > collect .po files for i18n support. source3/po seems to contain (mostly)
> > swat i18n, source3/locale contains the pam_winbind stuff. As I'm just
> > adding gettext support to "net", I'm wondering where that should go. I'm
> > happy to do the merging of the two dirs, I just wonder which of those to
> > keep.
> msg for swat is installed as it is to a different directory from
> pam_winbind's. po for pam_winbind are msgfmted. merging two types of
> files results in a little more complex install script..

The genmsg script looks pretty much the same for both files, at least the 
xgettext and msgmerge calls are. There's some minor differences.

> What's the plan? Does the directory look like this after merge:
> source3/po(or locale)/<module name>/*.po?
> ie, source3/po(locale)/swat/, source3/po(locale)/pam_winbind/,
> source3/po(locale)/net.

I think that makes sense, yes.

> And merge script/installmsg.sh, script/installmo.sh? we must
> differentiate the two types of files in the install script, for each
> kind of files added to source3/po(or locale), we have to add the module
> name to the one kind in the script.

I still fail to see the differences between the different *.po files.

Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090805/b984f46e/attachment.pgp>

More information about the samba-technical mailing list