original_string: public function translationsAction($language)
      {
          $language = $this->getUser()->getInterfaceLanguage($language);
  
          $translations = $this->get('resourcesTranslations');
          $content = $translations->get($language);
  
          return new Response($content, 200, ['Content-Type' => 'text/javascript']);
      }
code: public function translationsAction($language)
      {
          $language = $this->getUser()->getInterfaceLanguage($language);
  
          $translations = $this->get('resourcesTranslations');
          $content = $translations->get($language);
  
          return new Response($content, 200, ['Content-Type' => 'text/javascript']);
      }
code_tokens: public function translationsAction ( $ language ) { $ language = $ this -> getUser ( ) -> getInterfaceLanguage ( $ language ) ; $ translations = $ this -> get ( 'resourcesTranslations' ) ; $ content = $ translations -> get ( $ language ) ; return new Response ( $ content , 200 , [ 'Content-Type' => 'text/javascript' ] ) ; }
docstring: Return users translations.
  
  @param string $language
  
  @return Response
docstring_tokens: Return users translations .