Commit 653d2325 authored by webchick's avatar webchick

Issue #1789750 by droplet: Fixed Fatal error: Call to undefined function...

Issue #1789750 by droplet: Fixed Fatal error: Call to undefined function language_negotiation_url_prefixes_update().
parent b90c07c1
......@@ -485,6 +485,8 @@ function language_save($language) {
// Kill the static cache in language_list().
// Update URL Prefixes for all languages after the new default language is
// propagated and the language_list() cache is flushed.
......@@ -29,6 +29,17 @@ public static function getInfo() {
* Enable interface translation to English
function testEnglishTranslation() {
$admin_user = $this->drupalCreateUser(array('administer languages', 'access administration pages'));
$this->drupalPost('admin/config/regional/language/edit/en', array('locale_translate_english' => TRUE), t('Save language'));
$this->assertLinkByHref('/admin/config/regional/translate/translate?langcode=en', 0, t('Enabled interface translation to English.'));
* Adds a language and tests string translation by users with the appropriate permissions.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment