You are here

function i18n_boxes_locale_refresh in Boxes translation 6

Refresh all strings.

1 string reference to 'i18n_boxes_locale_refresh'
i18n_boxes_locale in ./i18n_boxes.module
Implementation of hook_locale().

File

./i18n_boxes.module, line 62

Code

function i18n_boxes_locale_refresh() {
  $boxes = boxes_load();
  if (!empty($boxes)) {
    foreach ($boxes as $delta => $box) {
      if ($box->plugin_key == 'i18n') {
        $box
          ->locale_refresh();
      }
    }
  }
  return TRUE;

  // Meaning it completed with no issues.
}