function locale_reset

Reset static variables used by locale().

2 calls to locale_reset()
LocaleTranslationFunctionalTest::testStringSearch in drupal/modules/locale/locale.test
Tests translation search form.
LocaleTranslationFunctionalTest::testStringTranslation in drupal/modules/locale/locale.test
Adds a language and tests string translation by users with the appropriate permissions.

File

drupal/modules/locale/locale.module, line 762
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_reset() {
  drupal_static_reset('locale');
}