|
| __construct ($lang, $path=null, $fallback=self::FALLBACK_LANGUAGE) |
|
| getName () |
|
| getLang () |
|
| translateString ($str, array $params=[], $onlyPrefix=null) |
|
| translate (TextContainer $c) |
|
| internalGet ($id) |
|
| get ($id) |
|
|
const | FALLBACK_LANGUAGE = "eng" |
|
|
| loadLang ($path, array &$d) |
|
| parseTranslation ($text, $onlyPrefix=null) |
|
|
| $langName |
|
| $lang = [] |
|
| $fallbackLang = [] |
|
translateString |
( |
|
$str, |
|
|
array |
$params = [] , |
|
|
|
$onlyPrefix = null |
|
) |
| |
- Parameters
-
string | $str | |
| string[] | $params |
- Returns
- string
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/lang/BaseLang.php