Migrate system site i18n variables to config:

  • site_name
  • site_mail
  • site_slogan
  • site_frontpage
  • site_403
  • site_404
  • drupal_weight_select_max
  • admin_compact_mode

Comments

quietone created an issue. See original summary.

quietone’s picture

Status: Active » Postponed

This can proceed once the source and dest plugin are resolved in #2225477: Add migrate sources and destinations for D6 i18n variables.

quietone’s picture

Issue tags: +i18n-migrate
StatusFileSize
new4.74 KB

This version works locally for the site name and site slogan. The other variables need to be added to the test fixture, the test and the migration template.

quietone’s picture

Component: entity system » migration system

Mistakenly in wrong system, moved to migration system.

quietone’s picture

Issue tags: +migrate-d6-d8
quietone’s picture

StatusFileSize
new3.11 KB

Removed drupal6.php because of #2670170: Add i18n string & variable data to d6_dump and updated for new test data.

quietone’s picture

StatusFileSize
new3.59 KB

Cleanup and added tests for another language.

quietone’s picture

Version: 8.0.x-dev » 8.1.x-dev
Status: Postponed » Needs review
StatusFileSize
new3.47 KB

Test now that the dump has the i18n string data.

benjy’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateI18nSystemSiteTest.php
@@ -0,0 +1,53 @@
+/**
+ * @file
+ * Contains \Drupal\Tests\config_translation\Kernel\Migrate\d6\MigrateI18nSystemSiteTest.
+ */

Un-needed comment

The last submitted patch, 3: 2637182-3.patch, failed testing.

  • catch committed 6005468 on 8.1.x
    Issue #2637182 by quietone: i18n Variable to config: system site...

  • catch committed 3dccd75 on 8.2.x
    Issue #2637182 by quietone: i18n Variable to config: system site...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.2.x and cherry-picked to 8.1.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.