# protocol for updating .po gettext files?

2 messages from 2018-05-28 to 2018-05-28. Participants: Robert P. J. Day, Junio C Hamano.
Thread: https://gitlist.dev/t/48584

## Robert P. J. Day, 2018-05-28 11:56

Subject: protocol for updating .po gettext files?
Message-ID: <alpine.LFD.2.21.1805280754160.8049@localhost.localdomain>
URL: https://gitlist.dev/e/alpine.LFD.2.21.1805280754160.8049%40localhost.localdomain

```

   i was going to submit a minor patch to fix grammar here:

builtin/init-db.c: warning(_("templates not found %s"), template_dir);

as it should display "templates not found in %s" to be consistent with
other messages, but i know from nothing about .po files, so does one
also have to update those, or how does that work?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

```

## Junio C Hamano, 2018-05-28 13:47

Subject: Re: protocol for updating .po gettext files?
Message-ID: <xmqqvab7j3ix.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqqvab7j3ix.fsf%40gitster-ct.c.googlers.com
In-Reply-To: <alpine.LFD.2.21.1805280754160.8049@localhost.localdomain>

```
"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

>    i was going to submit a minor patch to fix grammar here:
>
> builtin/init-db.c: warning(_("templates not found %s"), template_dir);
>
> as it should display "templates not found in %s" to be consistent with
> other messages, but i know from nothing about .po files, so does one
> also have to update those, or how does that work?

You as a developer generally don't.  Instead, you just update the
code i.e.

	-	warning(_("t not found %s"), t);
	+	warning(_("t not found in %s"), t);

and leave it up to the i18n coordinator to update *.pot and *.po so
that localization teams can work on it, which all happens closer to
the next release.

I think po/README has a bit more details describing which part is
handled by whom.


```
