Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
locale_themes_installed core/modules/locale/locale.module Implements hook_themes_installed().
locale_themes_uninstalled core/modules/locale/locale.module Implements hook_themes_uninstalled().
locale_translatable_language_list core/modules/locale/locale.module Returns list of translatable languages. 14
locale_translate_batch_build core/modules/locale/locale.bulk.inc Build a locale batch from an array of files. 2
locale_translate_batch_finished core/modules/locale/locale.bulk.inc Implements callback_batch_finished(). 1 1
locale_translate_batch_import core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1 1
locale_translate_batch_import_files core/modules/locale/locale.bulk.inc Prepare a batch to import all translations.
locale_translate_batch_import_save core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1
locale_translate_batch_refresh core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1
locale_translate_delete_translation_files core/modules/locale/locale.bulk.inc Deletes interface translation files and translation history records. 2
locale_translate_file_attach_properties core/modules/locale/locale.bulk.inc Generates file properties from filename and options. 2
locale_translate_file_create core/modules/locale/locale.bulk.inc Creates a file object and populates the timestamp property.
locale_translate_get_interface_translation_files core/modules/locale/locale.bulk.inc Get interface translation files present in the translations directory. 3
locale_translation_batch_fetch_build core/modules/locale/locale.fetch.inc Builds a batch to download and import project translations. 1
locale_translation_batch_fetch_download core/modules/locale/locale.batch.inc Implements callback_batch_operation(). 2
locale_translation_batch_fetch_finished core/modules/locale/locale.batch.inc Implements callback_batch_finished(). 3
locale_translation_batch_fetch_import core/modules/locale/locale.batch.inc Implements callback_batch_operation(). 2
locale_translation_batch_status_build core/modules/locale/locale.compare.inc Builds a batch to get the status of remote and local translation files. 1
locale_translation_batch_status_check core/modules/locale/locale.batch.inc Implements callback_batch_operation(). 1
locale_translation_batch_status_finished core/modules/locale/locale.batch.inc Implements callback_batch_finished(). 1
locale_translation_batch_update_build core/modules/locale/locale.fetch.inc Builds a batch to check, download and import project translations. 5
locale_translation_build_projects core/modules/locale/locale.compare.inc Builds list of projects and stores the result in the database. 6
locale_translation_build_server_pattern core/modules/locale/locale.translation.inc Build path to translation source, out of a server path replacement pattern. 2
locale_translation_build_sources core/modules/locale/locale.translation.inc Build translation sources. 1
locale_translation_check_projects core/modules/locale/locale.compare.inc Check for the latest release of project translations. 1
locale_translation_check_projects_batch core/modules/locale/locale.compare.inc Gets and stores the status and timestamp of remote po files. 1
locale_translation_check_projects_local core/modules/locale/locale.compare.inc Check and store the status and timestamp of local po files. 2
locale_translation_clear_cache_projects core/modules/locale/locale.translation.inc Clears the projects cache. 3
locale_translation_clear_status core/modules/locale/locale.module Clear the translation status cache. 3
locale_translation_default_translation_server core/modules/locale/locale.compare.inc Retrieve data for default server. 1
locale_translation_download_source core/modules/locale/locale.batch.inc Downloads a translation file from a remote server. 2
locale_translation_file_history_delete core/modules/locale/locale.module Deletes the history of downloaded translations. 2
locale_translation_flush_projects core/modules/locale/locale.compare.inc Clear the project data table. 1
locale_translation_get_file_history core/modules/locale/locale.module Gets current translation status from the {locale_file} table. 5 4
locale_translation_get_projects core/modules/locale/locale.translation.inc Get array of projects which are available for interface translation. 12 1
locale_translation_get_status core/modules/locale/locale.module Gets the current translation status. 14
locale_translation_http_check core/modules/locale/locale.batch.inc Check if remote file exists and when it was last updated. 1
locale_translation_language_table core/modules/locale/locale.module Form element callback: After build changes to the language update table. 1
locale_translation_load_sources core/modules/locale/locale.translation.inc Loads cached translation sources containing current translation status.
locale_translation_project_list core/modules/locale/locale.compare.inc Fetch an array of projects for translation update. 2 1
locale_translation_source_build core/modules/locale/locale.translation.inc Builds abstract translation source. 3
locale_translation_source_check_file core/modules/locale/locale.translation.inc Checks whether a po file exists in the local filesystem. 2
locale_translation_status_delete_languages core/modules/locale/locale.module Delete language entries from the status cache. 1
locale_translation_status_delete_projects core/modules/locale/locale.module Delete project entries from the status cache. 1
locale_translation_status_save core/modules/locale/locale.module Saves the status of translation sources in static cache. 4
locale_translation_update_file_history core/modules/locale/locale.module Updates the {locale_file} table. 3
locale_translation_use_remote_source core/modules/locale/locale.module Checks whether remote translation sources are used. 5
locale_uninstall core/modules/locale/locale.install Implements hook_uninstall().
locale_update_9101 core/modules/locale/locale.install Delete an unnecessary index on the locales_location table.
locale_update_last_removed core/modules/locale/locale.install Implements hook_update_last_removed().

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.