Library Translation Files
The library translation text folder contains a sub-folder for each supported language. There are two message files:
• ifx_translation.txt
• ifx_par.txt
These files are located in the standard installation of Creo Intelligent Fastener. Browse to <creo loadpoint>\Common Files\ifx\text\<language directory> to access the library translation files.
To customize these files, you must copy them to the PATH_ABS_LIBRARY\text\<language directory> folder. Entries from this location have a higher priority than standard installation.
Message File Syntax
The syntax for an entry in the message file is as follows:
• Line 1: The message ID
• Line 2: The English string
• Line 3: The localized string
• Line 4: A blank line
For more information about the message ID's see the
PRO/Toolkit user guide.
The Dialog Translation File — ifx_translation.txt
The ifx_translation.txt is used to localize the labels and help texts shown inside the Screw Fastener Definition and Dowel Pin Fastener Definition dialog boxes. The following names can be localized:
• Name of the catalog (*.txt)
• Name of the fastener data file (*.dat)
For each catalog name and fastener data file name you can add a label and help text as described in the list below:
• <NAME>.Label—Translation of the name in the list
• <NAME>.HelpText—Help text that appears when you hover over the name in the list
|
|
• The length of the Label and the HelpText is limited to 80 characters.
• To add a line break to the HelpText use \n.
• After converting the library to the file structure introduced in Creo Parametric 3.0 M110, the translation files for usascii and german are created in the text directories.
|
This example shows how to add translated labels and help texts for the mm-Fine catalog and the ISO4014 fastener translation file.
mm-Fine.Label
mm-Fine
mm-Fine
mm-Fine.HelpText
Screws and Bolts - fine pitch thread
Screws and Bolts - fine pitch thread
ISO4014.Label
ISO 4014 (DIN931)
ISO 4014 (DIN931)
ISO4014.HelpText
ISO 4014 (DIN931) Hexagon head screw with shank\nproduct grades A and B
ISO 4014 (DIN931) Hexagon head screw with shank\nproduct grades A and B
The Parameter Translation File ifx_par.txt
The ifx_par.txt file contains parameter values that are used by Creo Intelligent Fastener. For the following parameter names the values can be localized:
• BUW_NAME
• BUW_TYPE
• BUW_SIZE
Add an entry for each parameter value you want to localize. You must add the prefix ifx_par_ to the message ID.
|
|
The parameter value is limited to 80 characters.
|
This example shows how to translate the parameter value hexsocketheadcapscrew from a fastener data file column BUW_NAME.
ifx_par_hexsocketheadcapscrew
Hexagon Socket Head Cap Screw
Hexagon Socket Head Cap Screw