Page 1 of 1

Language variables

Posted: 01 Feb 2013 07:51
by Borut
I would like to use some of these in the titlebar, before I get crazy :P (I am translator and translators should better know what they are doing lately):

<lngfile>
<lngfilepath>
<lngver>
<lngname>
<lngnameeng>

<mlsver>

Legend:
<lngxxx> is a property of the currently loaded language file, if any (not necessarily equal to the one edited in the ITT or just saved by ITT!); empty if no language file has been loaded
<mlsver> is a property of the running program binary (supported language level)

The infrastructure for this is probably already in the source. (I hope that variables are not yet there and I have overlooked them :roll: .)

Thanks a lot!

Edit:Refined and clarified a few things above. Added the suggestion below:

Also, I would welcome the following refinement of the exiting logic from the ITT: If the name of the saved file (lately possibly automatically changed from the initially edited one!) is different from the one being used in the rest of the program, then the following dialogue might pop up:

"Language file saved under the name xxx. Load this language file now?"

Re: Language variables

Posted: 01 Feb 2013 10:46
by Borut
Have edited and slightly expanded my above wish.

Re: Language variables

Posted: 01 Feb 2013 15:35
by admin
I'll wait a bit for further expansions of the wish... ;)