Brian S wrote:
> If 'multi-language' is limited to MacRoman languages you could be safe using FB’s StringList feature
Read the FB Help entry for 'stringlist'. Then try this demo.
[1] Run this:
'------------
include "ConsoleWindow"
stringlist on
print "What?"
stringlist
'------------
[2] From FBtoC's File menu, choose 'Generate Localizable.strings'.
[3] Drag the file "Localizable.strings" from build_temp to the enclosing (source) folder.
[4] Add a line to the demo program:
include resources "Localizable.strings"
[5] A run should still print "What?".
[6] Edit Localizable.strings, changing the line:
"What?" = "What?";
to:
"What?" = "¿Qué?";
[7] A run should show the changed text.
The string literal in this line of code
print "What?"
has been swizzled by the FBtoC runtime, via the file Localizable.strings.
Robert P.