Previous Topic: Platform-Specific ComponentsNext Topic: Pre-install Components


Language-Specific Components

Language-specific components enable multilingual installations. Language-specific components contain files that are installed on the target computer only if the language defined in the component matches the language specified by the $LANG parameter on the target computer. Typically, language-specific components contain language resource files, help files, manual pages, and graphic files that contain language-specific texts. You specify a language-specific component through the #locale keyword in the component section of the prototype file.

Language-specific components can be stored inside the main PIF product or in an external language-specific PIF file. The external language-specific PIF file must be stored in the same folder as the main PIF product.

To translate language-specific components, extract them using the pifextract command. The translated language-specific component can be added to the PIF product as a new language-specific component.

Language-specific components are not platform-specific.

The component with the default product language is installed anytime. Additionally, the language-specific component that matches the target computer language ($LANG) is installed.