- Issue created by @ericvl
- 🇺🇸United States flashwebcenter Austin TX
Hello,
It looks like the issue you’re encountering is due to configuration file duplication between the root and language-specific folders. This duplication doesn’t seem to be directly related to the Solo theme itself, as it doesn’t include any specific settings. Instead, it appears to be a configuration management issue within Drupal, particularly regarding how translations are handled for configuration items like blocks.
In your case, the root configuration file contains the translated label, while the file in the language-specific folder still has the English label. This discrepancy is causing inconsistencies in displaying content across different languages, as the translated content is not consistently applied.
Here are some steps to help address this issue:
- Check Configuration Translation Synchronization
Drupal stores configuration translations separately, and these can sometimes become out of sync. You can force synchronization by exporting and re-importing the configuration:- Export Configuration:
- Go to Configuration > Development > Configuration Synchronization.
- Export either the specific configuration items affected or the entire site configuration.
- Edit Translations:
- In the exported
.yml
files, verify if the files in the translation folders contain the correct language labels. - If any translation labels are missing, manually update these files to ensure accuracy.
- In the exported
- Import Configuration:
- Import the updated configuration back into Drupal to synchronize the settings with the correct labels.
- Export Configuration:
- Update Translation Strings
If specific labels aren’t translating correctly:- Go to Configuration > Regional and language > User interface translation.
- Search for the untranslated label (e.g., 'User account menu') and translate it directly. This can sometimes force the translation to take effect in the configuration.
- Clear Cache
After making any changes, clear the Drupal cache by going to Configuration > Performance > Clear all caches. This ensures the new translations are applied.
- Review Language Settings for Block Configuration
Language-specific block settings may override the default configuration:- Go to Structure > Block Layout and find the block for the User Account Menu.
- Verify that the block is set to be visible for the appropriate languages and is configured correctly for each one.
Best wishes,
Alaa - Check Configuration Translation Synchronization
- 🇧🇪Belgium ericvl
@flashwebcenter
Sorry, I wasn't able to contact you earlier.
Thank you for all your suggestions. It seems that it my problem is solved now.
I tought that this problem came from the solo theme because it was the only module or theme that had a separate "language/nl" folder under the "sync" folder.
I do not know why this is nessecary but this is irrelevant here. I can look it up in the documentation of configuration in core (if I can find it).Thank you again for your time.
Greetings - 🇺🇸United States flashwebcenter Austin TX
No worries! I’m glad to hear the issue is resolved.
Automatically closed - issue fixed for 2 weeks with no activity.