All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Janke <floss@apjanke.net>
To: Philip Oakley <philipoakley@talktalk.net>,
	git@vger.kernel.org, Jiang Xin <worldhello.net@gmail.com>
Subject: Re: gettext, multiple Preferred languages, and English
Date: Sun, 21 Apr 2019 09:27:25 -0400	[thread overview]
Message-ID: <ffac5d4b-190c-16d6-497c-4b0f1f12115c@apjanke.net> (raw)
In-Reply-To: <bd5ee770-a213-b663-208c-c9980a738fe9@talktalk.net>


On 4/21/19 8:59 AM, Philip Oakley wrote:
> Hi Andrew,
> 
> On 21/04/2019 12:08, Andrew Janke wrote:
> https://public-inbox.org/git/d001a2b5-57c3-1eb3-70fd-679919bb2eb6@apjanke.net/
> 
>> I don't think it would even have
>> to be actively maintained, because for new message strings that aren't
>> included in the .po file, it would fall back to the non-translated input
>> strings, which are in English anyway, which is the desired behavior.
> Given the above comment, could the en.po file
> (https://github.com/apjanke/git/blob/english-dummy-translation/po/en.po)
> be some very very short version with only one 'translated' string?

Yes, I believe so. I only provided a full translation file because it
was trivial for me to create using the "msginit" instructions I found in
po/README. Since all the translations are just identity relationships, I
believe that is effectively the same as their not being there in the
first place.

I tested your approach locally, and it seems to work for me.

> This
> may be a way-off comment, but if it could be such a simple maintenance
> free file then that sounds sensible.
> 
> also adding in Jiang Xin <worldhello.net@gmail.com>, the coordinator for
> extra comment.
> 
> Philip

  reply	other threads:[~2019-04-21 13:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21 11:08 gettext, multiple Preferred languages, and English Andrew Janke
2019-04-21 12:59 ` Philip Oakley
2019-04-21 13:27   ` Andrew Janke [this message]
2019-04-22  1:33     ` Andrew Janke
2019-04-21 23:44   ` Junio C Hamano
2019-04-22  0:35 ` Duy Nguyen
2019-04-22  0:57   ` Andrew Janke
2019-04-22 17:47     ` Ævar Arnfjörð Bjarmason
2019-04-23 11:45       ` Andrew Janke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ffac5d4b-190c-16d6-497c-4b0f1f12115c@apjanke.net \
    --to=floss@apjanke.net \
    --cc=git@vger.kernel.org \
    --cc=philipoakley@talktalk.net \
    --cc=worldhello.net@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.