Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The configuration for the site name and slogan is not able to be imported.
Comment | File | Size | Author |
---|---|---|---|
d8demo-branding-block-not-translated.png | 80.54 KB | Kristen Pol |
Comments
Comment #2
Gábor HojtsyI don't think it was translated before either. Also its still taking the site name and slogan from the config.
Comment #3
Gábor HojtsyWas not properly translated before either, Hungarian has some stuff that attempted to test it, and that does seem to work for the extent of the slogan. The title is modified, so the install file would need to save translations. Moving to task.
Comment #4
loopduplicateThis translation does exist in the Multilingual Demo configuration files (except for the name in Hungarian). The translations are in the /config/install/language/[language]/system.site.yml files.
This appears to be a bug in core. The language specific configurations for system.site.yml are not recognized.
To reproduce:
* Install Drupal core 8.x dev, set English as default, and make sure to set a name and slogan
* Enable the Configuration and Interface Translation modules
* Add the Afrikaans language
* Visit admin/config/system/site-information/translate and add a translation in Afrikaans; update the Site name and Slogan
* Visit admin/config/development/configuration/full/export and export the full configuration
* Extract the archive and remove the uuid lines, sample script:
* Compress the files into a tar.gz, sample command:
tar -zcf config.tar.gz config
* Install Drupal core 8.x dev, set English as default, and make sure to set a name and slogan
* Enable the Configuration and Interface Translation modules
* Add the Afrikaans language
* Visit admin/config/development/configuration/full/import and import the configuration that was exported in the previous steps.
* Redirects to admin/config/development/configuration with a status message, "Your configuration files were successfully uploaded and are ready for import." however there is nothing to synchronize.
Comment #5
Gábor HojtsyWhen I install the demo in Hungarian, the Hungarian site info override is imported though. Fuel for debugging :)