Localization

Windows

Mercury Computer Systems has already localized the embedded strings in Open Inventor (e.g., the viewer labels) for several useful languages. All localized strings are included in the SoWin resource file, Invrxxx.DLL (where xxx is the Open Inventor version number), and are automatically selected based on the current Locale. The Locale can be specified via the Regional Settings program of Control Panel.

UNIX

The app-defaults/Inventor directory contains the default Motif resource file (named Inventor) used by the standard viewers. You must put this file in /usr/lib/X11/app-defaults or set the XAPPLRESDIR environment variable (see X Window documentation) to $OIVHOME/app-defaults.

Several versions of the resource file are provided for supporting different languages (Inventor.english, Inventor.french, etc.). To use a specific language, make a link between the desired resource file and the Inventor file. For example, to use French language resources:

ln -s Inventor.french Inventor
setenv XAPPLRESDIR $OIVHOME/app-defaults

If you already have a Motif resource file, you can merge Inventor.xxx with yours (see xrdb in X documentation). For example, to use French language resources:

ln -s Inventor.french Inventor
xrdb -merge $OIVHOME/app-defaults/Inventor