IBM Support

Custom labels are overwritten after running TDToolkit

Technical Blog Post


Abstract

Custom labels are overwritten after running TDToolkit

Body

After executing the below commands, observed that custom translations are updated with OOB translations. Is there any way to stop update statements.

TDTDynamicTranslationExpander.bat -addlangde -versionV7505-00

TDToolkit.bat -addlangde -versionV7505-00

Ex: ASSET.EQ2 is an out of the box attribute.

For this attribute default label is EQ2, but changE it to "XYZ".

After executing TDtoolkit command this again updated as EQ2.

 

The XLIFF file is responsible to change the translation of the labels.
So, when running TDToolkit it will overwrite the current value by the value in the file.

You can change the XLIFF file.

Go to "{maximo_install}\tools\maximo\{LANG_CODE}\xliff "

Here you will find MAXATTRIBUTE xliff files.

One of those MAXATTRIBUTE files has the following lines:

<source>Eq2</source>
<target>Eq2</target>

Update it to:

<source>Eq2</source>
<target>XYZ</target>

Save it and try running the TDTOOLKIT.
Now it should keep the XYZ title.

Note: You will have to do this change for all lang codes.

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

UID

ibm11112175