namespace \webfiori\framework\i18n
class Language
Class Attributes Summary
Class Methods Summary
Class Attributes Details
Class Methods Details
Parameters:
- string $dir 'ltr' or 'rtl'. Default is 'ltr'.
- string $code Language code (such as 'AR'). Default is 'XX'
- array $initials An initial array of directories.
- boolean $addtoLoadedAfterCreate If set to true, the language object that will be created will be added to the set of loaded languages. Default is true.
Parameters:
Parameters:
- string $param A string that looks like a directory. For example, if the given string is 'general', an array with key name 'general' will be created. Another example is if the given string is 'pages/login', two arrays will be created. The top one will have the key value 'pages' and another one inside the pages array with key value 'login'.
Parameters:
- string $name A directory to the language variable (such as 'pages/login/login-label').
Parameters:
- string $langCode A two digits language code (such as 'ar').
Parameters:
Parameters:
- string $code Language code (such as 'AR').
Parameters:
Parameters:
- string $dir 'ltr' or 'rtl'. Letters case does not matter.
Parameters:
- string $langCode A two digits language code (such as 'ar').