- * If called repeatedly, it won't save the translation strings again, just load the new ones.
- *
- * @param string $lang Language code
- *
- * @throws \Exception
- * @see popLang()
- * @brief Stores the current language strings and load a different language.
- */
- public static function pushLang($lang)
- {
- self::getClass(L10nClass::class)->pushLang($lang);
- }
-
- /**
- * Restores the original user/system language after having used pushLang()