You are here

function countries_i18n_i18n_string_refresh in Countries 7.2

Implements hook_i18n_string_refresh().

File

modules/countries_i18n/countries_i18n.module, line 95
Provides translation for countries module.

Code

function countries_i18n_i18n_string_refresh() {

  // Direct db calls to avoid potential calls to countries_translate().
  $result = countries_get_countries();
  foreach ($result as $country) {
    i18n_string_object_update('country', $country);
  }
  return TRUE;
}