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

Submitter:  None
Submitted:  Thu 28 Apr 2016 08:14:16 PM UTC
 
Category:  Other Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-19 haible StatusNone Need Info
    2016-11-27 haible CategoryNone Other

    Back to the top


    Powered by Savane 3.9