'langcode' => 'fr',
'content_options[not_customized]' => FALSE,
'content_options[customized]' => FALSE,
'content_options[not_translated]' => TRUE,
], 'Export'
);
// Ensure we have a translation file.
$this->
assertSession()->
pageTextContains('# French translation of Drupal'
);
// Ensure no customized translations exist in the file.
$this->
assertSession()->
responseNotContains('msgstr "janvier"'
);
// Ensure the untranslated strings exist in the file, and with right quotes.
$this->
assertSession()->
responseContains($this->
getUntranslatedString());
} /**
* Tests exportation of translation template file.
*/
public function testExportTranslationTemplateFile() { // Load an admin page with JavaScript so _drupal_add_library() fires at
// least once and _locale_parse_js_file() gets to run at least once so that
// the locales_source table gets populated with something.
$this->
drupalGet('admin/config/regional/language'
);
// Get the translation template file.