add findLocale() to public interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
abab7eb7f0
commit
7d8124ad66
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ interface IFactory {
|
|||
*/
|
||||
public function findLanguage($app = null);
|
||||
|
||||
/**
|
||||
* @param string|null $lang user language as default locale
|
||||
* @return string locale If nothing works it returns 'en_US'
|
||||
* @since 13.0.0
|
||||
*/
|
||||
public function findLocale($lang = null);
|
||||
|
||||
/**
|
||||
* Find all available languages for an app
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue