bugGNU gettext - Bugs: bug #47801, Feature Request: a switch for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47801: Feature Request: a switch for escaping unprintable and zero-width chars

Submitted by:  None
Submitted on:  Thu 28 Apr 2016 08:14:16 PM UTC  
 
Category: OtherSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 30 Apr 2016 02:49:37 PM UTC, comment #1:

> GNOME uses some soft hyphens in their msgids to workaround some
> line-breaking issues.


1) What is the purpose of having soft hyphens in a POT file?
In my opinion, these soft hyphens cannot help the translator,
therefore they should best be filtered out when generating the
POT file.

2) Why would the translator want to see them?
In my opinion, these soft hyphens cannot help the translator,
therefore even if present in the POT file, they should remain
invisible.

If some message should be conveyed to the translator (such as:
"Please insert soft-hyphens, because the available horizontal
space is at most 7 characters"), this should be done by
translator comments. It cannot be done through soft hyphens in
the msgid, because some English words consist of 1 syllable and
therefore don't have a place where to put a soft-hyphen.

Bruno Haible <haible>
Project Administrator
Thu 28 Apr 2016 08:14:16 PM UTC, original submission:

GNOME uses some soft hyphens in their msgids to workaround some line-breaking issues. Unfortunately, these characters are invisible in Unicode-conforming editors without a `msgcat -E` pass.

It would be great to see gettext adding escapes for specific unprintable/zero-width chars. (A switch that takes char ranges can be even better customizable-wise... Just saying.)

See also https://bugzilla.gnome.org/show_bug.cgi?id=765778.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:11:00 PM UTChaibleCategoryNone=>Other

    Back to the top


    Powered by Savane 3.1-cleanup1