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.
Problem
A lot of strings in install|update subsystems are not translatable
Solution
1) Maintenance page titles
2) Task lists
3) Installer messages
Comment | File | Size | Author |
---|---|---|---|
#19 | Install.png | 60.44 KB | quietone |
#1 | 1703346-d8mi-install-1.patch | 2.9 KB | andypost |
Comments
Comment #1
andypostA first steps, probably this looks like meta issue
Comment #2
Gábor HojtsyA key reason for the update system not using t() is that the locale database can change in updates. Also, using t() direct in the installer could cause DB issues if the page is displayed before the DB is set up. This might or might not be mitigated by the recent changes with locale caching. So I'm not really sure how much if any can we 'fix' of this. Its a matter of the system running its own updates and install that makes us very cautious to run "complex" things like t() that use the database, language list, etc.
Comment #3
YesCT CreditAttribution: YesCT commentedrelated: #1848490: Import translations automatically during installation
Comment #4
Gábor HojtsyThis might be possible if/once #1813762: Introduce unified interfaces, use dependency injection for interface translation gets in.
Comment #5
YesCT CreditAttribution: YesCT commentedComment #6
YesCT CreditAttribution: YesCT commentednot sure if this is still relevant, but the other issue is done.
Comment #19
quietone CreditAttribution: quietone at PreviousNext commentedI tested on Drupal 10.1.x, installing in Italian. After selecting the language the result was as shown.
Therefore, I am closing this as outdated.
Thanks.