bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58643] ITS - Double escapes when merging translations back to XML


From: Samy Mahmoudi
Subject: [bug #58643] ITS - Double escapes when merging translations back to XML
Date: Wed, 24 Jun 2020 09:36:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Follow-up Comment #6, bug #58643 (project gettext):

Just to make myself clear: are the following workflows reasonable and/or
supposed to be achievable in the current gettext version?


Ideal workflow: 

• original XML:             <short>&amp;</short>

• generated *.po:           msgid "&"

• *.po after translations:  msgid "&"
                            msgstr "&"

• merged XML:               <short>&amp;</short>
                            <short xml:lang="aa">&amp;</short>
                            <short xml:lang="bb">&amp;</short>
                            <short xml:lang="cc">&amp;</short>


Not-ideal-but-acceptable workflow:

• original XML:             <short>&amp;</short>

• generated *.po:           msgid "&amp;"

• *.po after translations:  msgid "&amp;"
                            msgstr "&amp;"

• merged XML:               <short>&amp;</short>
                            <short xml:lang="aa">&amp;</short>
                            <short xml:lang="bb">&amp;</short>
                            <short xml:lang="cc">&amp;</short>


As for the achievability, I don't get to achieve any of these. Can you?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58643>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]