How to define a linefeed

Mar 9, 2011 at 2:28 PM

Hi,

how can I define a LF/CR in a language file if VB.NET is used?

\n does not work.

 

Regards, Tom

Coordinator
Mar 11, 2011 at 2:01 PM

New line symbol: \r\n

(not only \n)

:)

Mar 14, 2011 at 1:31 PM

Sorry,

does not work :-(

(Form1)tbTest.Text = line1\r\nline2

Coordinator
Mar 14, 2011 at 2:14 PM
Edited Mar 14, 2011 at 9:39 PM

My temporary solution for You - please execute this code after translate. It's working :)

tbTest.Text = tbTest.Text.Replace("\r\n", vbCrLf)

MsgBox(tbTest.Text)

Better solution will be implemented in the new version of NLocalizer.

Coordinator
Sep 2, 2011 at 3:24 PM

NLocalizer 1.7+ allow to use all special chars, like \r\n.