• Login
Community
  • Login

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

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 2.4k 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.
  • S
    scootergrisen
    last edited by Jul 4, 2017, 6:13 PM

    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
    • R
      Roman Artiukhin
      last edited by Roman Artiukhin Jul 6, 2017, 11:13 AM Jul 6, 2017, 11:12 AM

      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
      • S
        scootergrisen
        last edited by Jul 12, 2017, 5:06 PM

        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
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors