public static function getTranslator() { if (self::$translator === null) { self::$translator = new static(); } return self::$translator; }