I'm using Builder XE (C++) form strings and string constants have been found and translated correctly by TsiLang, however static strings are not.
In my .cpp file I have a declaration like this outside of any class / fuction:
String strEntry[] = { "String1",
"String 2",
"String 3",
"etc."
};
The menu item "File | Source | With Form..." does not find the strings, looking at the help there should be a menu item "File | Const Section | With Form..." that I think should do this, however this menu item does not exist!
How can I get TsiLang to translate this array of strings?
James
Cannot translate static strings
Hello,
There is no possibility to translate constant strings in C++ code. This is why this menu item is not available under C++ IDE. I would recommend you just to add a small function where you will initialize these strings and then translate it with TsiLang Expert as usual.
There is no possibility to translate constant strings in C++ code. This is why this menu item is not available under C++ IDE. I would recommend you just to add a small function where you will initialize these strings and then translate it with TsiLang Expert as usual.
Best regards,
Igor Siticov.
Igor Siticov.