philotas
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016
04:18 AM
How to do linebreaks in localization file/multiline strings?
How do I handle multi line text when doing translation?
Imagine this label:
now I can do:
that works, but can't I define a multi line string in Brightscript with a line break like this?
Imagine this label:
<trans-unit id="0">
<source xml:lang="en">New
line</source>
<target xml:lang="de">Neue
Zeile</target>
</trans-unit>
now I can do:
label = Tr("New"+chr(10)+"line")
that works, but can't I define a multi line string in Brightscript with a line break like this?
REM the code does not work
label = Tr("New
line")
2 REPLIES 2
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016
10:29 AM
Re: How to do linebreaks in localization file/multiline stri
Right. I recently asked the same - with a survey/ideas from other languages. Invite you to add your voice there:
viewtopic.php?f=34&t=95285
viewtopic.php?f=34&t=95285
philotas
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016
10:33 AM
Re: How to do linebreaks in localization file/multiline stri
thanks. did not find your post during my search.