1.212.2.2 (checked in on 2008/07/09 at 21:48:28 by goba)
Add language handling functionality and enables the translation of the user interface to languages other than English.
When enabled, multiple languages can be set up. The site interface can be displayed in different languages, as well as nodes can have languages assigned. The setup of languages and translations is completely web based. Gettext portable object files are supported.
| Name | Description |
|---|---|
| LANGUAGE_LTR | Language written left to right. Possible value of $language->direction. |
| LANGUAGE_RTL | Language written right to left. Possible value of $language->direction. |
| Name | Description |
|---|---|
| locale | Provides interface translation services. |
| locale_block | Implementation of hook_block(). Displays a language switcher. Translation links may be provided by other modules. |
| locale_form_alter | Implementation of hook_form_alter(). Adds language fields to forms. |
| locale_get_plural | Returns plural form index for a specific number. |
| locale_help | Implementation of hook_help(). |
| locale_inc_callback | Wrapper function to be able to set callbacks in locale.inc |
| locale_language_list | Returns array of language names |
| locale_language_name | Returns a language name |
| locale_locale | Implementation of hook_locale(). |
| locale_menu | Implementation of hook_menu(). |
| locale_perm | Implementation of hook_perm(). |
| locale_system_update | Imports translations when new modules or themes are installed or enabled. |
| locale_theme | Implementation of hook_theme() |
| locale_update_js_files | Update JavaScript translation file, if required, and add it to the page. |
| locale_user | Implementation of hook_user(). |