You are here

function l10n_update_default_translation_server in Localization update 7.2

Retrieve data for default server.

Return value

array Array of server parameters:

  • "server_pattern": URI containing po file pattern.
1 call to l10n_update_default_translation_server()
l10n_update_build_projects in ./l10n_update.compare.inc
Rebuild project list.

File

./l10n_update.compare.inc, line 242
The API for comparing project translation status with available translation.

Code

function l10n_update_default_translation_server() {
  $pattern = variable_get('l10n_update_default_update_url', L10N_UPDATE_DEFAULT_SERVER_PATTERN);
  return array(
    'pattern' => $pattern,
  );
}