/** * Is called automatically by Sl::setLocale() */ public static function localeChanged() { $temp = self::read('I18n.locale'); if ($temp != self::$_locale) { self::$_locale = $temp; self::setCollections(self::$_collectionsNoLocale, false); } }