How to define a linefeed

Mar 9, 2011 at 3: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

Mar 11, 2011 at 3:01 PM

New line symbol: \r\n

(not only \n)

:)

Mar 14, 2011 at 2:31 PM

Sorry,

does not work :-(

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

Mar 14, 2011 at 3:14 PM
Edited Mar 14, 2011 at 10: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.

Sep 2, 2011 at 4:24 PM

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