Community
    • Login

    Have "\r" in translation XML files been fixed?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scootergrisenS
      scootergrisen
      last edited by

      Can anyone tell me if the problem with “\r” in the translation XML files have been fixed?
      Strings containing “\r” would show up as “\r” in the dialogs instead of newline.

      1 Reply Last reply Reply Quote 0
      • Roman ArtiukhinR
        Roman Artiukhin
        last edited by Roman Artiukhin

        Why do you think it’s a problem? You are not inside C++. You have two options: 1) Use new lines as is (just make sure you don’t add spaces that’s used for xml indentation - they will also be included in text)) 2) Use 
 entities:
        <Item id=“1635” name=“First Line&#xD;&#xA;Second Line”/>

        1 Reply Last reply Reply Quote 0
        • scootergrisenS
          scootergrisen
          last edited by

          Because i think the intent is to show a new line not \r in the dialog.
          I think it will be best to write it the correct way in the source language/english so that all translators can see the correct way to do it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors