Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
locale.module
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
function locale_reset
Reset static variables used by
locale
().
2 calls to locale_reset()
LocaleTranslationTest::testStringSearch
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleTranslationTest.php
Tests translation search form.
LocaleTranslationTest::testStringTranslation
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleTranslationTest.php
Adds a language and tests string translation by users with the appropriate permissions.
File
drupal/
core/
modules/
locale/
locale.module
, line 348
Enables the translation of the user interface to languages other than English.
Code
function
locale_reset
() {
drupal_static_reset
(
'
locale
'
); }