Common API for interface translation.
File
core/modules/locale/locale.translation.inc
Functions
Name | Description |
---|---|
locale_cron_fill_queue | Populate a queue with project to check for translation updates. |
locale_translation_build_server_pattern | Build path to translation source, out of a server path replacement pattern. |
locale_translation_build_sources | Build translation sources. |
locale_translation_clear_cache_projects | Clears the projects cache. |
locale_translation_get_projects | Get array of projects which are available for interface translation. |
locale_translation_load_sources | Loads cached translation sources containing current translation status. |
locale_translation_source_build | Builds abstract translation source. |
locale_translation_source_check_file | Checks whether a po file exists in the local filesystem. |
_locale_translation_default_update_options | Returns default import options for translation update. |
_locale_translation_file_is_remote | Determine if a file is a remote file. |
_locale_translation_source_compare | Compare two update sources, looking for the newer one. |
Constants
Name | Description |
---|---|
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ | Comparison result of source files timestamps. |
LOCALE_TRANSLATION_SOURCE_COMPARE_GT | Comparison result of source files timestamps. |
LOCALE_TRANSLATION_SOURCE_COMPARE_LT | Comparison result of source files timestamps. |
Please login to continue.