[glotpress-updates] [GlotPress] #443: Add support for carriage return (\r)

GlotPress noreply at wordpress.org
Mon Nov 2 03:20:17 UTC 2015

#443: Add support for carriage return (\r)
  Reporter:  TacoVerdo  |      Owner:
      Type:  defect     |     Status:  new
  Priority:  major      |  Milestone:  Awaiting Review
 Component:  General    |    Version:
Resolution:             |   Keywords:

Comment (by dd32):

 It's worth noting that Gettext tools designate that PO/MO translations
 shouldn't contain `\r` characters, with `\n` being the only valid EOL

 This requires a two-prong attack:
 a) Import strings matching both EOL styles
 b) Export strings with the correct EOL style

 The `b` is the hard part, if a translation is exported with `\n` as the
 original it won't be matched, it needs to be `\r\n`. I don't think there's
 really a easy viable option here..

Ticket URL: <https://glotpress.trac.wordpress.org/ticket/443#comment:3>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'

More information about the glotpress-updates mailing list