← Back to team overview

ubuntu-developer-manual team mailing list archive

Re: language issue: "fr_CA" (French Canada) doesn't work

 

On Thu, Jan 6, 2011 at 4:49 PM, Kyle Nitzsche
<kyle.nitzsche@xxxxxxxxxxxxx> wrote:
> So I still think it is fine. Translators will  translate. If they introduce
> errors, this find them.

Agreed.  But it won't it also flag every { and } that's not escaped by
a backslash?  If so, the script is in error.

Let's take an example.  Edit your po/pt_BR.po file.  Look at line 227.
 It has msgid "{\\covertitlebox}".  That doesn't require translation,
so copy the same string to the msgstr value.  Now when you run your
script, it will say:

po file: po/pt_BR.po has Errors:
	msgstr "{\\covertitlebox}"
	msgstr "{\\covertitlebox}"

This is incorrect as the braces should *not* be escaped by backslashes.

--Kevin



Follow ups

References