Translate a resource file - SmartPlant Foundation - IM Update 46 - Administration & Configuration

SmartPlant Foundation Server Manager Help

Language
English
Product
SmartPlant Foundation
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Once you have generated a resource file, in order to create a resource language assembly, you must translate the resource strings values in the resx file into the required language using an editor of your choice. For example, Textpad or Notepad++.

You must not translate the value text/microsoft-resx. This is a standard part of the resx file, and the resx file will not work without it.

The following examples identify the resource strings available to translate in the SPFResources.Resx, SPFServerResources.Resx, and SPFServerDisplayResources.Resx files:

  • This is an example from a client resx file, SPFResources.Resx. The text that can be translated is shown in bold:

    <data name="ClassDef" xml:space="preserve">

    <value>Class Definition</value>

  • This is an example from a server resx file, SPFServerResources.Resx. The text that can be translated is shown in bold:

    <data name="URLType" xml:space="preserve">

    <value>URL Property Type</value>

  • This is an example from a server display resx file, SPFServerDisplayResources.Resx. The text that can be translated is shown in bold:

    <data name="ISPFMethodDef" xml:space="preserve">

    <value>SPF Method Definition</value>

    <comment>InterfaceDef</comment>

The character entities "&lt;" "&gt;", and "&amp;" are for <, >, and &, respectively. This conversion is done automatically when you generate the resx file because <, >, and & are reserved HTML characters.