03-27-2024, 10:57 AM
Thanks both,
The best idea I can come up with at the moment is an extension that replicates SmallBasicLibrary, calling its functions with translated language.
The following is a test of this idea with conversion for the Stack object in German, Russian and Hindi , probably bad translations!
https://litdev.uk/extensions/SBAliases.zip
Limitations:
The keywords do need to be European Latin based characters - the compiler won't accept Hindi script for example, although the intellisence can.
The compiled code will require the extension to use it
Code will not be transferable without extension - I guess a conversion program along the lines of previous discussions could do the necessary find/replace to convert to standard English SB.
Some work would be needed to do the conversions - I can supply English templates for all SmallBasicLibrary commands and some simple instructions - it should be possible to compile yourselves using csc.exe.
The best idea I can come up with at the moment is an extension that replicates SmallBasicLibrary, calling its functions with translated language.
The following is a test of this idea with conversion for the Stack object in German, Russian and Hindi , probably bad translations!
https://litdev.uk/extensions/SBAliases.zip
Code:
Stapel.PushWert("sss" 1)
s=Stapel.PopWert("sss")
TextWindow.WriteLine(s)
Куча.НажмитеЗначение("sss" 2)
s=Куча.ПопулярнаяЦенность("sss")
TextWindow.WriteLine(s)
Dher.PushVailyoo("sss",3)
s=Dher.PopVailyoo("sss")
TextWindow.WriteLine(s)
Limitations:
The keywords do need to be European Latin based characters - the compiler won't accept Hindi script for example, although the intellisence can.
The compiled code will require the extension to use it
Code will not be transferable without extension - I guess a conversion program along the lines of previous discussions could do the necessary find/replace to convert to standard English SB.
Some work would be needed to do the conversions - I can supply English templates for all SmallBasicLibrary commands and some simple instructions - it should be possible to compile yourselves using csc.exe.