| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 596 lines (31 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file includes/locale.inc |
| locale_help($path, $arg) X-Ref |
| Implementation of hook_help(). |
| locale_menu() X-Ref |
| Implementation of hook_menu(). Locale module only provides administrative menu items, so all menu items are invoked through locale_inc_callback(). |
| locale_inc_callback() X-Ref |
| Wrapper function to be able to set callbacks in locale.inc |
| locale_perm() X-Ref |
| Implementation of hook_perm(). |
| locale_locale($op = 'groups') X-Ref |
| Implementation of hook_locale(). |
| locale_user($type, $edit, &$user, $category = NULL) X-Ref |
| Implementation of hook_user(). |
| locale_form_alter(&$form, $form_state, $form_id) X-Ref |
| Implementation of hook_form_alter(). Adds language fields to forms. |
| locale_theme() X-Ref |
| Implementation of hook_theme() |
| locale_node_type($op, $info) X-Ref |
| Implementation of hook_node_type(). |
| locale($string = NULL, $langcode = NULL, $reset = FALSE) X-Ref |
| Provides interface translation services. This function is called from t() to translate a string if needed. param: $string param: $langcode param: $reset |
| locale_get_plural($count, $langcode = NULL) X-Ref |
| Returns plural form index for a specific number. The index is computed from the formula of this language. param: $count param: $langcode |
| locale_language_name($lang) X-Ref |
| Returns a language name |
| locale_language_list($field = 'name', $all = FALSE) X-Ref |
| Returns array of language names param: $field param: $all |
| locale_system_update($components) X-Ref |
| Imports translations when new modules or themes are installed or enabled. This function will either import translation for the component change right away, or start a batch if more files need to be imported. param: $components |
| locale_update_js_files() X-Ref |
| Update JavaScript translation file, if required, and add it to the page. This function checks all JavaScript files currently added via drupal_add_js() and invokes parsing if they have not yet been parsed for Drupal.t() and Drupal.formatPlural() calls. Also refreshes the JavaScript translation file if necessary, and adds it to the page. |
| locale_block($op = 'list', $delta = 0) X-Ref |
| Implementation of hook_block(). Displays a language switcher. Translation links may be provided by other modules. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |