diff --git a/lib/SimpleSAML/Locale/Localization.php b/lib/SimpleSAML/Locale/Localization.php index 1fc1cb74bd4a73d4da96119ff6b908980d455fc6..5cf221353a876942ff11cb0245ee8afdc89c2eed 100644 --- a/lib/SimpleSAML/Locale/Localization.php +++ b/lib/SimpleSAML/Locale/Localization.php @@ -14,7 +14,6 @@ use Gettext\Translator; class Localization { - /** * The configuration to use. * @@ -37,21 +36,36 @@ class Localization */ const GETTEXT_I18N_BACKEND = 'gettext/gettext'; - /* + /** * The default locale directory */ private $localeDir; - /* + /** * Where specific domains are stored */ private $localeDomainMap = array(); - /* + /** * Pointer to currently active translator */ private $translator; + /** + * Pointer to current Language + */ + private $language; + + /** + * Language code representing the current Language + */ + private $langcode; + + + /** + * The language backend to use + */ + private $i18nBackend; /** * Constructor