Language files: How to include escape characters?

You have trouble using InstallForge? Then this is the right place for you.
Post Reply
jarroyo
Posts: 2
Joined: Wed Apr 19, 2023 12:43 pm

I want InstallForge to display multi-line messages, for instance:
Please read the following License Agreement.
You must accept the terms of this agreement before continuing with the installation.
I wish this could be as simple as including the \n escape character, bu InstallForge displays the "\n" as regular text, not adding a carriage return.

I also tried including an ASCII 10 and/or ASCII 13 character instead of the escape, but this causes a new line to appear in the language file and InstallForge reads only the 1st line:
Please read the following License Agreement.
Any ideas? Thank you!
jarroyo
Posts: 2
Joined: Wed Apr 19, 2023 12:43 pm

My question is still open because this is just a messy workaround, but using the Non-breaking space ASCII code (255) does the job.

So, if you want InstallForge to display this:
This is the first line.

This is the second line.
Your label in the Language file should be:
This is the first line._LOOOOOOTS OF NON-BREAKING SPACES, FOR INSTANCE 100_Second line

(change the "_" to STANDARD spaces)

If you get rid of the first of those surrounding standard spaces, you will get
This is the first line.
This is the second line.
You can add the non-breaking spaces by opening the Language file in Notepad++ and inputting the ALT+255 combination.
Post Reply