# Tralation manager, add line break

**URL:** <https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718>\
**Category:** General Discussion\
**Created:** [May 13, 2020, 8:18pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718 "2020-05-13T20:18:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [May 13, 2020, 8:18pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/1 "2020-05-13T20:18:13Z")

</div>

Is ther a way to add line break in the translation manager?

I want to translate message with multiple lines.

---

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [May 17, 2020, 4:30am UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/2 "2020-05-17T04:30:23Z")

</div>

I have used `\n` character on my translations successfully.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [May 25, 2020, 5:57pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/4 "2020-05-25T17:57:32Z")

</div>

Have you do it in expression-\>translation or thru Translation manager? I already try \n in the translation manager and it doesn’t work for me…

---

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [June 3, 2020, 2:57am UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/5 "2020-06-03T02:57:48Z")

</div>

I thought I had a working solution using the `\n` character, but after performing a quick test I couldn’t make it work.

What did work was using the `<br />` tag like this.

Key: `<html>This<br />is<br />a<br />test`  
Spanish translation: `<html>Esta<br />es<br />una<br />prueba`

```auto
>>> term = '<html>This<br />is<br />a<br />test'
>>> print system.util.translate(term, 'es')
<html>Esta<br />es<br />una<br />prueba

```

Maybe this might work for you.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [June 4, 2020, 2:24pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/6 "2020-06-04T14:24:56Z")

</div>

I have tried and it doesn’t work in the translation manager…

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [June 4, 2020, 2:50pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/7 "2020-06-04T14:50:54Z")

</div>

Ultimately, it’s going to depend on where the translation appears. If it’s going to appear some place that will display HTML, then @cesrom’s solution is the way to go. (Note – you may not need the `<html>` tag at the start.)

Otherwise you can try the `\n` line break, which might work and might not.

---

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [June 4, 2020, 7:17pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/8 "2020-06-04T19:17:06Z")

</div>

How did you set up translations on Translation Manager, and where do you want to see your translations?

Maybe we could start there.

Please share.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [June 4, 2020, 7:32pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/9 "2020-06-04T19:32:45Z")

</div>

I use terms as key in the translation manager.

 ![2020-06-04_15h30_16](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/628a67c2ab6f70798dd45869e973c48eab41887a.png)

I juste want to be able to use it in a label and want to control the break line.  
 ![2020-06-04_15h32_14](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/18590dc2631c3419986d84b0fd4520f96f1b9574.png)

---

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [June 4, 2020, 9:14pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/10 "2020-06-04T21:14:49Z")

</div>

Found this topic that might shed some light on the problem you're facing.

> [@How to Insert a Line Break in a String in Perspective](http://forum.inductiveautomation.com/t/how-to-insert-a-line-break-in-a-string-in-perspective/21866):
>
> Howdy y’all, We were having issues determining the method to put a line break inside of a string with perspective. We tried the usual \<br\> and \<br/\> and some other CSS code but with no avail. Thanks

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [June 4, 2020, 10:05pm UTC](https://forum.inductiveautomation.com/t/tralation-manager-add-line-break/34718/11 "2020-06-04T22:05:53Z")

</div>

This worked for me in Vision when I put an `<html>` tag in front and a `<br>` in the middle: `<html>Fin de course haut +<br>extraction manuel`
