[solved] Line break issue (Text Import)

  • #1, by smac96Tuesday, 11. April 2017, 19:14 7 years ago
    Hi,
      
    I would like to import in Visionaire a csv file with the translated texts.

    Of course I created a csv file and followed this guide (https://wiki.visionaire-tracker.net/wiki/CSV_files). Everything works fine.

    The only problem is that the line break doesn't work. 

    It that any solution for that?

    (I use Visionaire 3.7 build 1147)

    For example the following sentence is shown on the same line:

    Newbie

    97 Posts


  • #2, by smac96Wednesday, 19. April 2017, 10:02 7 years ago
    Anyone? smile

    Newbie

    97 Posts

  • #3, by AlexWednesday, 19. April 2017, 11:17 7 years ago
    Hi,

    what is the text in your csv file? does it contain the line break tag <br/> ? and it is the same when imported in Visionaire? when imported you should not see this tag anymore and just a new line instead.

    Since you are using a very old version I'd recommend you to either use the latest 4.x version or the currently released 5.0 RC. In case it is a bug in Visionaire it was probably fixed long time ago.

    Great Poster

    378 Posts

  • #4, by smac96Wednesday, 19. April 2017, 17:29 7 years ago
    Hi,

    what is the text in your csv file? does it contain the line break tag <br/>? and it is the same when imported in Visionaire? when imported you should not see this tag anymore and just a new line instead.

    Since you are using a very old version I'd recommend you to either use the latest 4.x version or the currently released 5.0 RC. In case it is a bug in Visionaire it was probably fixed long time ago.

    The text in the csv file (both exported and then to be imported after the translation) is for example "This is the first line<br/>and this is the second line."

    Visionaire imports it but it simply hides the line break tag without adding the new line.

    Newbie

    97 Posts

  • #5, by MachtnixWednesday, 19. April 2017, 18:25 7 years ago
    Is the slash behind br necessary?

    Thread Captain

    1097 Posts

  • #6, by afrlmeWednesday, 19. April 2017, 18:31 7 years ago
    Is the slash behind br necessary?

    No idea but that's common in html.

    Imperator

    7278 Posts

  • #7, by sebastianWednesday, 19. April 2017, 18:37 7 years ago
    yes, there should be an / because its a self closing element

    Thread Captain

    2346 Posts

  • #8, by afrlmeWednesday, 19. April 2017, 20:31 7 years ago
    I know some people don't add them, but it's something I've also done when it comes to writing code for websites. Same with img too. <img src="some link to an image" />

    Imperator

    7278 Posts

  • #9, by AlexThursday, 20. April 2017, 00:48 7 years ago
    I just found out that csv text export and import is currently not working in the 5.0RC. I fixed a couple of bugs so it will be working again with the next update. I also tested line breaks successfully.

    So if this is important for you, you probably have to update sometime since we most definitely won't make an update for 3.7

    Great Poster

    378 Posts

  • #10, by smac96Thursday, 20. April 2017, 09:01 7 years ago
    Thanks smile

    Newbie

    97 Posts

  • #11, by Raven SingularitySaturday, 29. April 2017, 18:28 7 years ago
    I just wanted to add that self-closing tags is a feature of XML, not of HTML.

    HTML = <br>
    XML or XHTML = <br />

    Newbie

    18 Posts