_locale_import_append_plural |
includes/gettext.inc |
Adds count indices to a string. |
_locale_import_message |
includes/gettext.inc |
Sets an error message if an error occurred during locale file parsing. |
_locale_import_one_string |
includes/gettext.inc |
Performs the specified operation for one string. |
_locale_import_one_string_db |
includes/gettext.inc |
Imports one string into the database. |
_locale_import_parse_arithmetic |
includes/gettext.inc |
Parses and sanitizes an arithmetic formula into a PHP expression. |
_locale_import_parse_header |
includes/gettext.inc |
Parses a Gettext Portable Object file header. |
_locale_import_parse_plural_forms |
includes/gettext.inc |
Parses a Plural-Forms entry from a Gettext Portable Object file header. |
_locale_import_parse_quoted |
includes/gettext.inc |
Parses a string in quotes. |
_locale_import_po |
includes/gettext.inc |
Parses Gettext Portable Object information and inserts it into the database. |
_locale_import_read_po |
includes/gettext.inc |
Parses a Gettext Portable Object file into an array. |
_locale_import_shorten_comments |
includes/gettext.inc |
Generates a short, one-string version of the passed comment array. |
_locale_import_tokenize_formula |
includes/gettext.inc |
Provides backward-compatible formula parsing for token_get_all(). |
locale_install |
modules/locale/locale.install |
Implements hook_install(). |
_locale_invalidate_js |
includes/locale.inc |
Force the JavaScript translation file(s) to be refreshed. |
locale_js_alter |
modules/locale/locale.module |
Implements hook_js_alter(). |
locale_language_delete |
modules/locale/locale.module |
Implements hook_language_delete(). |
locale_language_from_browser |
includes/locale.inc |
Identify language from the Accept-language HTTP header we got. |
locale_language_from_interface |
includes/locale.inc |
Identifies the language from the current interface language. |
locale_language_from_session |
includes/locale.inc |
Identify language from a request/session parameter. |
locale_language_from_url |
includes/locale.inc |
Identify language via URL prefix or domain. |
locale_language_from_user |
includes/locale.inc |
Identify language from the user preferences. |
locale_language_insert |
modules/locale/locale.module |
Implements hook_language_insert(). |
locale_language_negotiation_info |
modules/locale/locale.module |
Implements hook_language_negotiation_info(). |
locale_language_negotiation_url_domains |
includes/locale.inc |
Reads language domains. |
locale_language_negotiation_url_domains_save |
includes/locale.inc |
Saves the language domain settings. |
locale_language_negotiation_url_prefixes |
includes/locale.inc |
Reads language prefixes and uses the langcode if no prefix is set. |
locale_language_negotiation_url_prefixes_save |
includes/locale.inc |
Saves language prefix settings. |
locale_language_selector_form |
modules/locale/locale.module |
Form builder callback to display language selection widget. |
locale_language_switcher_session |
includes/locale.inc |
Return the session language switcher block. |
locale_language_switcher_url |
includes/locale.inc |
Return links for the URL language switcher block. |
locale_language_types_info |
modules/locale/locale.module |
Implements hook_language_types_info(). |
locale_language_update |
modules/locale/locale.module |
Implements hook_language_update(). |
locale_language_url_fallback |
includes/locale.inc |
Determines the language to be assigned to URLs when none is detected. |
locale_language_url_rewrite_session |
includes/locale.inc |
Rewrite URLs for the Session language provider. |
locale_language_url_rewrite_url |
includes/locale.inc |
Rewrite URLs for the URL language provider. |
locale_library_info_alter |
modules/locale/locale.module |
Implement hook_library_info_alter(). |
locale_menu |
modules/locale/locale.module |
Implements hook_menu(). |
locale_modules_installed |
modules/locale/locale.module |
Implements hook_modules_installed(). |
_locale_parse_js_file |
includes/locale.inc |
Parses a JavaScript file, extracts strings wrapped in Backdrop.t() and
Backdrop.formatPlural() and inserts them into the database. |
locale_permission |
modules/locale/locale.module |
Implements hook_permission(). |
locale_preprocess_block |
modules/locale/locale.module |
Implements hook_preprocess_block(). |
locale_preprocess_node |
modules/locale/locale.module |
Implements MODULE_preprocess_HOOK(). |
_locale_rebuild_js |
includes/locale.inc |
(Re-)Creates the JavaScript translation file for a language. |
locale_reset |
modules/locale/locale.module |
Reset static variables used by locale(). |
locale_schema |
modules/locale/locale.install |
Implements hook_schema(). |
locale_string_is_safe |
includes/locale.inc |
Check that a string is safe to be added or imported as a translation. |
locale_system_update |
modules/locale/locale.module |
Imports translations when new modules or themes are installed. |
locale_test_boot |
modules/locale/tests/locale_test/locale_test.module |
Implements hook_boot(). |
locale_test_init |
modules/locale/tests/locale_test/locale_test.module |
Implements hook_init(). |
locale_test_language_negotiation_info |
modules/locale/tests/locale_test/locale_test.module |
Implements hook_language_negotiation_info(). |