> On Oct 17, 2015, at 7:35 PM, Eric Auer <[email protected]> wrote:
> 
> 
> Hi Jerome,
> 
>> That is why it would be a Super Scary Halloween Release!. Just finished, 
>> completely untested. Probably full of creepy bugs and scary ghosts. :)
> 
> That is a preview or technology demo, not a release.

Ha. LOL. :)

> 
>> Localizing: Unlike a normal executable, I don’t think there is a really good
>> way to implement localizations for a batch based installer. I did think of 
>> a couple ways it can be accomplished. But, each method has major issues. 
> 
> Actually I have written a small (4 kB) tool for that in 2003: It
> allows you to print localizeable strings, for example in a batch
> file, and it is appropriately called LOCALIZE ;-) Alain's mirror:
> 
> http://ericauer.cosmodata.virtuaserver.com.br/soft/

(16K zip, no web doc, thats almost bigger than all of V8PT. :) )

Actually, once I/O redirection is up and running in stage 6, I could accomplish 
it using the vstr utility. But, the best solution would probably be if I add a 
vlocal 
to the TO-DO list. Then, It could do things like this:

vlocal default.en vecho "@WELCOME_MSG %OS_NAME% %OS_VERSION%"

At present, using vstr it would look more like this:

type default.en | vstr /l 1 | vecho /i " %OS_NAME% %OS_VERSION%"

> 
>> At present, it would require someone to go through and manually translate
>> all of the vecho’d text and basically create a forked installer for each 
>> language.
> 
> Basically you would replace the VECHO calls by LOCALIZE calls and
> yes, you would have to translate the individual strings and put
> them in the "localize.languagenamecode" files from which the tool
> reads and prints them :-)

Unfortunately, VECHO really shouldn’t be replaced. It does a lot of 
semi-intelligent stuff when writing it’s text to the screen and respects
all that windowing stuff. A normal echo or other program that outputs
text could be used, but it would not do that.

> 
> I still have doubts whether a C-free installer is a good idea, but
> indeed the installer could be more simple compared to older ISOs.
> 
> Cheers, Eric
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel


------------------------------------------------------------------------------
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to