You are here

function locale_reset in Drupal 7

Reset static variables used by locale().

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

File

modules/locale/locale.module, line 763
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');
}