Archive: Custom page fields?


Custom page fields?
I'm a noob at this so I can sureusesome help here.

I have three languages in my setup, English, Dutch and French. And all standard pages work just fine, except a customone I made.

I have no clue how to make it language specific:(

This is the what I have thusfar in the fuction that is used for my custom page:

LangString Uitleg ${LANG_ENGLISH} "Please enter the ip adres of the scale."
LangString Uitleg ${LANG_DUTCH} "Gelieve het ip-adres van de weegschaal in te geven."
LangString Uitleg ${LANG_FRENCH} "Priez d'entrer l'adresse ip de la balance."

I'm using an ini-file that with two fields on it:

[Field 1]
Type=Label
Text=Gelieve het ip-adres van de weegschaal in te geven.
Left=4
Right=194
Top=3
Bottom=11

[Field 2]
Type=Text
State=000.000.000.000
Left=4
Right=103
Top=28
Bottom=41

I'd like the text of Field1 to change along with the language that was chosen for the installer.

So how do I refer to [Field 1] and give its property TEXT the value of Uitleg?

Thx,
nirious


have a look at the installoptions readme.
or, if you use modern ui, have a look at the modernui readme.
it's explained pretty good there.