VuFind supports multiple languages in its user interface through two main mechanisms.
VuFind supports a global translate() function (available as {translate text='xxx'} tags within the Smarty templates) which will translate a string of text into the user's currently selected language by looking at the map files in the web/lang directory of the VuFind installation.
Notes:
When modifying an existing language file or creating a new one, you should observe these standards:
For an example of a full language file, see en.ini.
Note: This feature applies to VuFind 1.0RC2 and later only.
VuFind's help screens contain too much text for the standard {translate} mechanism to be a practical way of presenting them in multiple languages. Instead, under the web/interface/themes/[your_theme]/Help directory, the help templates are in folders whose names correspond with VuFind language codes (i.e. “en” for English). When a user requests a help screen, VuFind attempts to serve them the most appropriate version for their selected language, though it defaults to the English version if nothing else is available; as of this writing, help screens have not been translated into all possible languages.