protected StaticTranslation::getLanguag
String translator with a static cache for translations. This is a high performance way to provide a handful of string replacements.
public StaticTranslation::__construct($translations
public StaticTranslation::reset()
public StaticTranslation::getStringTranslation($langcode
String translations Array of cached translations indexed by language and context. Type: