Re: [PATCH] i18n: add infrastructure for translating Git with gettext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason wrote:

> Here's what we do with the sharedir currently:
>
>  * It's used as the gitwebdir already, and is used also as the
>    localedir with this patch:
>
>     sharedir = $(prefix)/share
>     gitwebdir = $(sharedir)/gitweb
>     localedir = $(sharedir)/locale

This has $(prefix)/ (e.g., /usr/) at the start.

>  * Even then I can't find the option that makes gitweb put something
>    in it, after a "make" with this patch:
>
>     $ find share -type f
>     share/locale/is/LC_MESSAGES/git.mo

This does not.

>  * It *is* important that we have this under a
>    $SOMETHING/is/LC_MESSAGES/git.mo structure, since we set
>    GIT_TEXTDOMAINDIR to $SOMETHING, and the gettext library will only
>    understand something in this layout.
>
>    But that $SOMETHING doesn't have to be $ROOT/share, it could be
>    e.g. $ROOT/po/generated, which would make it not conflict with the
>    gitwebdir.

Yeah, makes sense.  bin-wrappers/git has to get its locales from
somewhere.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]