Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
1.174.2.4 (checked in on 2008/09/17 at 08:47:04 by goba)
Administration functions for locale.module.
| Name | Description |
|---|---|
| LOCALE_IMPORT_KEEP | Translation import mode keeping existing translations and only inserting new strings. |
| LOCALE_IMPORT_OVERWRITE | Translation import mode overwriting all existing translations if new translated version available. |
| LOCALE_JS_STRING |
| Name | Description |
|---|---|
| locale_add_language | API function to add a language. |
| locale_batch_by_component | Prepare a batch to run when installing modules or enabling themes. This batch will import translations for the newly added components in all the languages already set up on the site. |
| locale_batch_by_language | Prepare a batch to import translations for all enabled modules in a given language. |
| locale_languages_add_screen | User interface for the language addition screen. |
| locale_languages_configure_form | Setting for language negotiation options |
| locale_languages_configure_form_submit | Submit function for language negotiation settings. |
| locale_languages_custom_form | Custom language addition form. |
| locale_languages_delete_form | User interface for the language deletion confirmation screen. |
| locale_languages_delete_form_submit | Process language deletion submissions. |
| locale_languages_edit_form | Editing screen for a particular language. |
| locale_languages_edit_form_submit | Process the language editing form submission. |
| locale_languages_edit_form_validate | Validate the language editing form. Reused for custom language addition too. |
| locale_languages_overview_form | User interface for the language overview screen. |
| locale_languages_overview_form_submit | Process language overview form submissions, updating existing languages. |
| locale_languages_predefined_form | Predefined language setup form. |
| locale_languages_predefined_form_submit | Process the language addition form submission. |
| locale_languages_predefined_form_validate | Validate the language addition form. |
| locale_translate_delete_form | User interface for the string deletion confirmation screen. |
| locale_translate_delete_form_submit | Process string deletion submissions. |
| locale_translate_delete_page | String deletion confirmation page. |
| locale_translate_edit_form | User interface for string editing. |
| locale_translate_edit_form_submit | Process string editing form submissions. Saves all translations of one string submitted from a form. |
| locale_translate_export_pot_form | Translation template export form. |
| locale_translate_export_po_form | Form to export PO files for the languages provided. |
| locale_translate_export_po_form_submit | Process a translation (or template) export form submission. |
| locale_translate_export_screen | User interface for the translation export screen. |
| locale_translate_import_form | User interface for the translation import screen. |
| locale_translate_import_form_submit | Process the locale import form submission. |
| locale_translate_overview_screen | Overview screen for translations. |
| locale_translate_seek_form | User interface for the string search screen. |
| locale_translate_seek_screen | String search screen. |
| theme_locale_languages_overview_form | Theme the language overview form. |
| _locale_batch_build | Build a locale batch from an array of files. |
| _locale_batch_import | Perform interface translation import as a batch step. |
| _locale_batch_language_finished | Finished callback of language addition locale import batch. Inform the user of translation files imported. |
| _locale_batch_system_finished | Finished callback of system page locale import batch. Inform the user of translation files imported. |
| _locale_export_get_strings | Generates a structured array of all strings with translations in $language, if given. This array can be used to generate an export of the string in the database. |
| _locale_export_po | Write a generated PO or POT file to the output. |
| _locale_export_po_generate | Generates the PO(T) file contents for given strings. |
| _locale_export_remove_plural | Removes plural index information from a string |
| _locale_export_string | Print out a string on multiple lines |
| _locale_export_wrap | Custom word wrapping for Portable Object (Template) files. |
| _locale_get_predefined_list | Some of the common languages with their English and native names |
| _locale_import_append_plural | Modify a string to contain proper count indices |
| _locale_import_message | Sets an error message occurred during locale file parsing. |
| _locale_import_one_string | Imports a string into the database |
| _locale_import_one_string_db | Import one string into the database. |
| _locale_import_parse_arithmetic | Parses and sanitizes an arithmetic formula into a PHP expression |
| _locale_import_parse_header | Parses a Gettext Portable Object file header |
| _locale_import_parse_plural_forms | Parses a Plural-Forms entry from a Gettext Portable Object file header |
| _locale_import_parse_quoted | Parses a string in quotes |
| _locale_import_po | Parses Gettext Portable Object file information and inserts into database |
| _locale_import_read_po | Parses Gettext Portable Object file into an array |
| _locale_import_shorten_comments | Generate a short, one string version of the passed comment array |
| _locale_import_tokenize_formula | Backward compatible implementation of token_get_all() for formula parsing |
| _locale_invalidate_js | Force the JavaScript translation file(s) to be refreshed. |
| _locale_languages_common_controls | Common elements of the language addition and editing form. |
| _locale_parse_js_file | Parses a JavaScript file, extracts strings wrapped in Drupal.t() and Drupal.formatPlural() and inserts them into the database. |
| _locale_prepare_predefined_list | Prepares the language code list for a select form item with only the unsupported ones |
| _locale_rebuild_js | (Re-)Creates the JavaScript translation file for a language. |
| _locale_translate_language_list | List languages in search result table |
| _locale_translate_seek | Perform a string search and display results in a table |
| _locale_translate_seek_query | Build array out of search criteria specified in request variables |