Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorVeryWowEnglishTranslation

final class PhabricatorVeryWowEnglishTranslation
Phabricator Technical Documentation ()

This class is not documented.

Methods

public function getLocaleCode()

PhutilTranslation

Get the locale code which this class translates text for, like "en_GB".

This should correspond to a valid subclass of PhutilLocale.

PhabricatorVeryWowEnglishTranslation
This method is not documented.
Return
stringLocale code for this translation.

protected function getTranslations()

PhutilTranslation

Return a map of all translations.

PhabricatorVeryWowEnglishTranslation
This method is not documented.
Return
map<string, wild>Map of raw strings to translations.

final public function getFilteredTranslations()
Inherited

PhutilTranslation

Return a filtered map of all strings in this translation.

Filters out empty/placeholder translations.

Return
map<string, wild>Map of raw strings to translations.

public static function loadAllTranslations()
Inherited

PhutilTranslation

Load all available translation objects.

Return
list<PhutilTranslation>List of available translation sources.

public static function getTranslationMapForLocale($locale_code)
Inherited

PhutilTranslation

Load the complete translation map for a locale.

This will compile primary and fallback translations into a single translation map.

Parameters
string$locale_codeLocale code, like "en_US".
Return
map<string, wild>Map of all avialable translations.