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.
When I configure a language and enter a domain that is already in use, the error message is missing the language for which the domain is already used. The error message is:
The domain (example.com) is already tied to a language ().
Instead, it should be:
The domain (example.com) is already tied to a language 'English'.
Comment | File | Size | Author |
---|---|---|---|
#1 | locale-duplicate-domain-error-1496620-1.patch | 2.54 KB | pixelite |
Comments
Comment #1
pixeliteThe problem was that the db_query returned the language code, but the error message expected the language object. I've created a patch that selects the language name instead and uses that in the error message.
Comment #2
kasperg CreditAttribution: kasperg commentedThe issue is still relevant, the patch applies and fixes the issue.