Problem/Motivation
Steps to see this:
- Enable the language and interface translation modules
- Add at least one other language
- Navigate to /admin/reports/translations
The page looks fairly similar to /admin/modules overall but doesn't make use of the <details> element, instead adding its own custom JS for expanding/collapsing in locale.admin.js.
After briefly searching through #1804702: Display interface translation status it seems like <details> wasn't really used in core when this form was created.
Proposed resolution
Instead of using custom markup and JS, use <details> to hold the additional translation information.
Remaining tasks
- Decide if this is a good idea
- Decide where we can apply this - only to the locale module? Also to Classy/Stable?
- Write a patch
User interface changes
Slightly different UI - currently the UI breaks RTL conventions for example.
API changes
TBD
Data model changes
Not likely.
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | Screenshot 2024-05-24 at 9.53.49 AM.png | 120.32 KB | gauravvvv |
Issue fork drupal-2767885
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #18
gauravvvv commentedStill needs to work on styling.