You are here

function i18n_string_source_language in Internationalization 7

Get source language code for translations

5 calls to i18n_string_source_language()
i18n_string_form_locale_translate_export_po_form_alter in i18n_string/i18n_string.module
Implements hook_form_FORM_ID_alter()
i18n_string_form_locale_translate_import_form_alter in i18n_string/i18n_string.module
Implements hook_form_FORM_ID_alter()
i18n_string_locale_translate_edit_form in i18n_string/i18n_string.pages.inc
User interface for string editing.
i18n_string_translate_langcode in i18n_string/i18n_string.module
Check if translation is required for this language code.
i18n_string_translation_update in i18n_string/i18n_string.module
Update / create translation for a certain source.
4 string references to 'i18n_string_source_language'
i18n_string_menu in i18n_string/i18n_string.module
Implements hook_menu().
i18n_string_translate_page_overview_form in i18n_string/i18n_string.pages.inc
Provide a core translation module like overview page for this object.
i18n_string_variable_info in i18n_string/i18n_string.variable.inc
Implements hook_variable_info().
_i18n_string_locale_translate_language_list in i18n_string/i18n_string.pages.inc
List languages in search result table.

File

i18n_string/i18n_string.module, line 757
Internationalization (i18n) package - translatable strings.

Code

function i18n_string_source_language() {
  return variable_get('i18n_string_source_language', language_default('language'));
}