11/12/2022 0 Comments Tekla string operationsLocalization.LoadFile("CommonStrings.xml") Localization.Language = (string).GetValue("language") To localize an application that inherits from ApplicationFormBase, or a plugin which has a XML file name and a path that doesn’t match the plug-in, you must:Ĭall Localization.Localize() for your form. If you for example add a string “Loading drawings…” using Word, it looks like this: Loading drawings… Step-by-step instructionsĪ localization file is automatically loaded for plugins (forms that inherit from PluginFormBase) if the filename and path of the XML file is the same as for the plug-in. Microsoft Word and ellipsisĪn ellipsis is a row of three periods (…).ĭo not use Microsoft Word for adding or editing XML strings because AutoCorrect feature replaces ellipses automatically by a character “†¦”. Then click this button to create drawings. The string should look like this: albl_Create_drawings Select a master drawing in the list below. Extra lines and spaces are shown also in the user interface.įor example, the string should NOT look like this: albl_Create_drawings When you have long string that are split into multiple lines make sure that there are no extra new lines or spaces that are easily added by some XML editors. Make sure that the XML file is well formed and valid.įiles open in Microsoft Visual Studio are automatically checked to be well formed, meaning the tags are symmetrical. It is recommended to use Microsoft Visual Studio when creating or making changes (adding, changing or removing strings) to a localization file. The localization file must have XML content (like shown below) and must be of UTF-8 format. TEKLA STRING OPERATIONS HOW TOSee instructions how to translate messages and where to put translation files in TSEP installations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |