Auch im Scripting können MultiLanguageStrings verwendet werden… Leider gibt es kein Klingonisch :^)
using Eplan.EplApi.Base;
using Eplan.EplApi.Scripting;
class MultiLanguageString
{
[Start]
public void Function()
{
MultiLangString multiLangString = new MultiLangString();
multiLangString.AddString(ISOCode.Language.L_en_EN, "My Text in English");
multiLangString.AddString(ISOCode.Language.L_de_DE, "Mein Text in Deutsch");
// Sorry there is no Klingon implemented :^)
}
}
(Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
An unhandled exception of type ‘System.IO.FileNotFoundException’ occurred in mscorlib.dll
Additional information: Could not load file or assembly ‘Eplan.EplApi.Baseu.dll’ or one of its dependencies. The specified module could not be found.