Your applications can use Motif's internationalization capabilities. Refer to the chapter titled "Internationalization" in the OSF/Motif Programmer's Guide for information about the following topics:
issues in internationalized applications
compound strings, fonts, and text display
localizing applications
advanced topics in internationalization
There are some important points to remember when you internationalize and localize your application:
At the top of your main program, issue the call
XtSetLanguageProc(NULL, NULL, NULL);
Translate your app-defaults and install it in /usr/lib/X11/$LANG/app-defaults.
Motif uses font sets and font lists to display text. Specify a font list in your application defaults file using the following format:
*fontList: font-list-string:
Be sure to separate elements in the font-list-string as follows:
Separate single fonts with a comma (,).
Separate elements within a font set with a semicolon (;).
End the string with a colon (:).
An example of specifying a Japanese fontList is as follows: