You are here

function i18nviews_locale_refresh in Internationalization Views 6.3

Same name and namespace in other branches
  1. 6.2 i18nviews.module \i18nviews_locale_refresh()

Refresh views locales, 3.x version

1 string reference to 'i18nviews_locale_refresh'
i18nviews_locale in ./i18nviews.module
Implementation of hook_locale().

File

./i18nviews.module, line 45
Views support for Internationalization (i18n) package

Code

function i18nviews_locale_refresh() {
  $views = views_get_all_views();
  foreach ($views as $view) {
    $view
      ->save_locale_strings();
  }
  return TRUE;

  // Completed successfully
}