User's Guide > User Interface: Dialogs > Using Resource Files > Location and Translation of Resource Files
Location and Translation of Resource Files
If the application uses language-specific directories, the resource file must be located in the <application_text_dir>/<language_dir>/resource directory. One resource file must exist for each language supported by the application. If the application supports only one language, then the resource file may be located in the <application_text_dir>/resource directory.
A Creo TOOLKIT application can optionally include only one resource file for all supported languages in the <application_text_dir>/resource directory. This application should also include a text file containing the translated entities and translated text for each additional language, in the format used by the function ProMessageDisplay(), in the <application_text_dir>/resource/<language_dir> directory. The translation text file should include the following items:
The component and attribute for each translated item in line 1
The English text in line 2
The translated entities and translated text in line 3
Line 4 should be left blank
Function Introduced:
Use the function ProUITranslationFilesEnable() to set your Creo TOOLKIT application to use the single resource file and multiple translation files method of deploying resource files for translated dialog boxes. Call this function from your application’s user_intialize() function before any call is made to another ProUI* function.
Was this helpful?