Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 2.6k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors