Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
locale_language_from_url drupal/includes/locale.inc Identify language via URL prefix or domain. 1
locale_language_url_fallback drupal/includes/locale.inc Determines the language to be assigned to URLs when none is detected. 1
locale_language_switcher_url drupal/includes/locale.inc Return the URL language switcher block. Translation links may be provided by other modules. 1
locale_language_switcher_session drupal/includes/locale.inc Return the session language switcher block. 1
locale_language_url_rewrite_url drupal/includes/locale.inc Rewrite URLs for the URL language provider. 2
locale_language_url_rewrite_session drupal/includes/locale.inc Rewrite URLs for the Session language provider. 1
locale_string_is_safe drupal/includes/locale.inc Check that a string is safe to be added or imported as a translation. 3
locale_add_language drupal/includes/locale.inc API function to add a language. 11
_locale_import_po drupal/includes/locale.inc Parses Gettext Portable Object file information and inserts into database 1
_locale_import_read_po drupal/includes/locale.inc Parses Gettext Portable Object file into an array 3
_locale_import_message drupal/includes/locale.inc Sets an error message occurred during locale file parsing. 1
_locale_import_one_string drupal/includes/locale.inc Imports a string into the database 3
_locale_import_one_string_db drupal/includes/locale.inc Import one string into the database. 1
_locale_import_parse_header drupal/includes/locale.inc Parses a Gettext Portable Object file header 1
_locale_import_parse_plural_forms drupal/includes/locale.inc Parses a Plural-Forms entry from a Gettext Portable Object file header 1
_locale_import_parse_arithmetic drupal/includes/locale.inc Parses and sanitizes an arithmetic formula into a PHP expression 1
_locale_import_tokenize_formula drupal/includes/locale.inc Backward compatible implementation of token_get_all() for formula parsing 1
_locale_import_append_plural drupal/includes/locale.inc Modify a string to contain proper count indices 1
_locale_import_shorten_comments drupal/includes/locale.inc Generate a short, one string version of the passed comment array 1
_locale_import_parse_quoted drupal/includes/locale.inc Parses a string in quotes 1
_locale_parse_js_file drupal/includes/locale.inc Parses a JavaScript file, extracts strings wrapped in Drupal.t() and Drupal.formatPlural() and inserts them into the database. 2
_locale_export_get_strings drupal/includes/locale.inc 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. 1
_locale_export_po_generate drupal/includes/locale.inc Generates the PO(T) file contents for given strings. 1
_locale_export_po drupal/includes/locale.inc Write a generated PO or POT file to the output. 1
_locale_export_string drupal/includes/locale.inc Print out a string on multiple lines 1
_locale_export_wrap drupal/includes/locale.inc Custom word wrapping for Portable Object (Template) files. 1
_locale_export_remove_plural drupal/includes/locale.inc Removes plural index information from a string 1
_locale_translate_seek drupal/includes/locale.inc Perform a string search and display results in a table 1
_locale_translate_seek_query drupal/includes/locale.inc Build array out of search criteria specified in request variables 1
_locale_invalidate_js drupal/includes/locale.inc Force the JavaScript translation file(s) to be refreshed. 5
_locale_rebuild_js drupal/includes/locale.inc (Re-)Creates the JavaScript translation file for a language. 4
_locale_translate_language_list drupal/includes/locale.inc List languages in search result table 1
_locale_prepare_predefined_list drupal/includes/locale.inc Prepares the language code list for a select form item with only the unsupported ones 2
locale_batch_by_language drupal/includes/locale.inc Prepare a batch to import translations for all enabled modules in a given language. 3
locale_batch_by_component drupal/includes/locale.inc Prepare a batch to run when installing modules or enabling themes. 1
_locale_batch_build drupal/includes/locale.inc Build a locale batch from an array of files. 2
_locale_batch_import drupal/includes/locale.inc Implements callback_batch_operation(). 1
_locale_batch_system_finished drupal/includes/locale.inc Implements callback_batch_finished().
_locale_batch_language_finished drupal/includes/locale.inc Implements callback_batch_finished(). 1
country_get_list drupal/includes/locale.inc Get list of all predefined and custom countries. 2
locale_date_format_save drupal/includes/locale.inc Save locale specific date formats to the database. 1
locale_get_localized_date_format drupal/includes/locale.inc Select locale date format details from database. 1
lock_initialize drupal/includes/lock.inc Initialize the locking system. 1
_lock_id drupal/includes/lock.inc Helper function to get this request's unique id. 1
lock_acquire drupal/includes/lock.inc Acquire (or renew) a lock, but do not block if it fails. 17
lock_may_be_available drupal/includes/lock.inc Check if lock acquired by a different process may be available. 2
lock_wait drupal/includes/lock.inc Wait for a lock to be available. 3
lock_release drupal/includes/lock.inc Release a lock previously acquired by lock_acquire(). 16
lock_release_all drupal/includes/lock.inc Release all previously acquired locks. 1
drupal_mail drupal/includes/mail.inc Composes and optionally sends an e-mail message. 8

Pages

Other projects