Skip to contentSkip to conversation

protocol for updating .po gettext files?

DISCUSSION Robert P. J. Day 2 participants 2 messages May 28, 2018

lore
Share & tools
lore
#0 lore raw

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

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

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 7 lines · Robert P. J. Day

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.