Problem: as editor or supereditor, the interface language at the url "admin/config" will always be English. Other locations are displayed in Dutch, which is correct.
I tracked the problem down via system_admin_config_page() and system_status() to a hook_requirements. Specifcally the one in dvg_global.requirements.inc.
There you will find a call to _dvg_glbal_features_filter at line 68. That function call features functions and somewhere in the proces, the global $language is changed from Dutch to English.
You can easily reproduce this by checking admin/config on a vanilla DvG install, which should display the page in English. Below is a patch which prevents the check to be run at the specified url, which is a solution I don't like, but you can apply it to verify the page is displayed in Dutch afterwards.
| Comment | File | Size | Author |
|---|
Comments
Comment #2
askibinski commentedComment #3
tessa bakkerdvg_global_root_language_provider_callback needs === instead of ==
Comment #4
askibinski commentedUnfortunately, dvg_global_root_language_provider_callback doesn't seem to be the cause here.
Comment #5
idebr commentedThis issue is caused by #2603578: _features_set_export_language is clearing drupal static cache too aggressively breaking search and possible many other modules and can be fixed by updated the Features module to 7.x-2.8 or higher.
Comment #6
askibinski commentedThanks Ide! great catch!
This indeed fixes the problem and since Features module is already updated to 2.10 in #2717221: Updated makefile (security updates search_api + features module) this can be closed (no patch needed).
Comment #7
askibinski commented