public function trans($key, Array $parameters = array(), $domain = NULL) {
    if (!isset($domain)) $domain = 'project';

    return $this->translationContainer->getTranslator()->trans($key, $parameters, $domain);
  }