Re: [PATCH] WIP: begin to translate git with gettext

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ævar Arnfjörð Bjarmason
Date: Tuesday, May 18, 2010 - 1:11 am

On Tue, May 18, 2010 at 07:40, Michael J Gruber
<git@drmicha.warpmail.net> wrote:

I don't have much experience with gettext either (except through
Launchpad), maybe it has some internal facilities to avoid errors in
these cases.

You can test if the translated messages contain the same format
specifiers as the originals, and in any case much larger projects than
Git manage dozens of translations with gettext while avoiding
disaster.


Generally you don't to strcat's since you don't want to enforce word
order, doing so will make the messages sound like Yoda in some of the
target languages.

That does mean re-arranging some code if it's to be done properly.


No, as Jeff said it's just a proof of concept. That patch as-is
doesn't reflect good translation practices, it just bootstraps
gettext.

Which is very useful by the way, thanks Jeff.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] WIP: begin to translate git with gettext, Jeff Epler, (Mon May 17, 9:05 am)
Re: [PATCH] WIP: begin to translate git with gettext, Robert Buck, (Mon May 17, 4:29 pm)
Re: [PATCH] WIP: begin to translate git with gettext, Ævar Arnfjörð Bjarmason, (Mon May 17, 9:23 pm)
Re: [PATCH] WIP: begin to translate git with gettext, Michael J Gruber, (Tue May 18, 12:40 am)
Re: [PATCH] WIP: begin to translate git with gettext, Ævar Arnfjörð Bjarmason, (Tue May 18, 1:11 am)
Re: [PATCH] WIP: begin to translate git with gettext, Jeff Epler, (Tue May 18, 9:40 am)
Re: [PATCH] WIP: begin to translate git with gettext, Ævar Arnfjörð Bjarmason, (Tue May 18, 10:02 am)
Re: [PATCH] WIP: begin to translate git with gettext, Ævar Arnfjörð Bjarmason, (Thu May 20, 9:02 am)
Re: [PATCH] WIP: begin to translate git with gettext, Dévai Tamás, (Fri May 21, 11:02 am)