bugGNU gettext - Bugs: bug #31181, Language field parsing broken


bug #31181: Language field parsing broken

Submitted by:  Данило Шеган <bascelik>
Submitted on:  Fri 01 Oct 2010 10:08:18 AM UTC  
Votes:  5  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Miguel Ángel Arruga Vivas <m1gu3l>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue 23 Apr 2013 03:36:44 AM UTC, comment #2:

It should be fixed with:

Daiki Ueno <ueno>
Project Administrator
Fri 01 Mar 2013 08:19:41 PM UTC, comment #1:

I know this entry is from 2010, but could you check the attached patch?

(file #27552)

Miguel Ángel Arruga Vivas <m1gu3l>
Project MemberIn charge of this item.
Fri 01 Oct 2010 10:08:18 AM UTC, original submission:

msgfmt issues a warning when there's a mention of "Language" in one of the PO header fields.

$ LANG=C msgfmt -o /dev/null -cv /tmp/af.po
/tmp/af.po:5: warning: header field `Language' should start at beginning of line
1 translated message.

I guess it's about the newly introduced "Language" field. We should probably have it not suggest anything when "Language" appears after the colon (i.e. as the value of the field).

(as reported against intltool on https://bugs.launchpad.net/intltool/+bug/652620)

Данило Шеган <bascelik>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #27552:  language.patch added by m1gu3l (499B - text/x-patch)
file #21591:  af.po added by bascelik (642B - application/octet-stream - Sample PO file)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by ueno (Posted a comment)
  • -unavailable- added by m1gu3l (Updated the item)
  • -unavailable- added by keenblade (Voted in favor of this item)
  • -unavailable- added by bascelik (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 5 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Apr 2013 03:36:44 AM UTCuenoStatusIn Progress=>Fixed
    Fri 01 Mar 2013 08:19:41 PM UTCm1gu3lAttached File-=>Added language.patch, #27552
      StatusNone=>In Progress
      Assigned toNone=>m1gu3l
    Sun 12 Jun 2011 03:41:26 PM UTCkeenbladeCarbon-Copy-=>Added keenblade
    Fri 01 Oct 2010 10:08:18 AM UTCbascelikAttached File-=>Added af.po, #21591

    Back to the top

    Powered by Savane 3.1-cleanup