public function createJsTranslation($content, $langcode = null)
    {
        $extracted = $this->parseJs($content);

        if (empty($extracted)) {
            return false;
        }

        $file = $this->getContextJsFile($langcode);
        $translations = $this->loadTranslation($this->getCommonFile($langcode));

        foreach ($extracted as $string) {
            $this->addTranslation($string, $translations, $file);
        }

        return true;
    }