[glotpress-updates] [GlotPress] #403: MO files generated by GlotPress sometimes cause weird trailing characters in translated strings (using php-gettext)

GlotPress noreply at wordpress.org
Tue Jan 27 12:47:31 UTC 2015


#403: MO files generated by GlotPress sometimes cause weird trailing characters
in translated strings (using php-gettext)
---------------------+-----------------------------
 Reporter:  Avram    |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  Awaiting Review
Component:  General  |    Version:  0.1
 Keywords:           |
---------------------+-----------------------------
 I've noticed some strings have this weird trailing characters and some
 don't, without any particular reason why some have it and others don't.

 Take a look at attached screenshot. When tested with poEdit-generated MO
 file, everything worked fine.

 However, msgunfmt reads it correctly and generates a proper PO file that
 can then be converted to MO file (with eg. msgfmt) that's identical to the
 one generated from the source PO file directly.

 Since GlotPress-generated MO file is shorter than the one generated with
 msgfmt, I am suspecting that the optimized hash table is missing and that
 php-gettext is not handling that case well.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/403>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list