As you can see, for the parameters Table, Filter and Group, I have to use localized name in German. That means my code won't work when I try to apply it for English MS Project file because there is no object with those names (in english version they should
be Table: Input, Filter: All tasks, Group: No Group).
Is it possible to make the code line above working with any language? I see that there is a function FieldConstantToFieldName, where I can give a field constant and have its name back. Is there something equivalent for table/filter/group?
There isn't a function for that I'm afraid. A typical solution is to have a text file you use to translate. You can have either the German or English text followed by the other. I would read it into memory at the start of the program and have a function
returning specific values as required.
A separate text file obviously allows updating without changing code.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.