- Home /
Question is off-topic or not relevant
Line break in xml
Good afternoon. In the project for localization I use xml. Sometimes I need to display a big fragment of the text with its help. How to me to break the text in one tag into some lines (line break)? I tried to use \n, but it doesn't help - to the text on the screen is simply added in appropriate places \n. For example, I have the following tag:
<text1>Hello, my friend.I'm here.<\text1>
In my screen I see next text: "Helo, my friend.I'm here.". But I want to break this text for two lines and to display them:
Hello, my friend.
I'm here.
Thanks in advance for the help.
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Best practice to internationalize(I18n) a unity project? 2 Answers
Anyone know how to setup text localization with Button icons within the text? 2 Answers
How to use System.Globalization.NumberFormatInfo for non US games? 2 Answers
How can i play with text which have string and int (from XML) 2 Answers