diff --git a/lib/SimpleSAML/Locale/Localization.php b/lib/SimpleSAML/Locale/Localization.php index 2fb02dc84ce274c5f6caca3032d343ebfd522364..d0d706632a58f66920e18b3065ad8e5d3d35216a 100644 --- a/lib/SimpleSAML/Locale/Localization.php +++ b/lib/SimpleSAML/Locale/Localization.php @@ -58,6 +58,16 @@ class Localization $this->setupL10N(); } + + /** + * Dump the default locale directory + */ + public function getLocaleDir() + { + return $this->localeDir; + } + + /* * Add a new translation domain * (We're assuming that each domain only exists in one place) @@ -116,6 +126,14 @@ class Localization $this->activateDomain(self::DEFAULT_DOMAIN); } + /** + * Show which domains are registered + */ + public function getRegisteredDomains() + { + return $this->localeDomainMap; + } + /** * Set which translation domain to use