In #3338988: Completeness of l10n_community, we figured out some release management features are missing.
Resources:
- Screen comparison between Drupal 7 and Drupal 11.
- How to install locally the Drupal 7 version of Localize.
- Example path for the Views project: /admin/l10n_server/projects/releases/views.
| Comment | File | Size | Author |
|---|
Comments
Comment #2
dydave commentedRaaaaa ... this does not seem ideal at all ...
I'm starting to understand how all this was done ....
Everything was done with code and list builders instead of using Views...

See: https://localizedrupalorg.ddev.site/admin/localization/projects
All the links and tabs on these pages are using code with routes in the module .....
I would recommend we try rebuilding all these pages using Views with config instead of list builders with code ...
Not only would it be much more flexible, allowing us to add sorts on headers, filters, etc... but it would also be much easier to maintain, without having to keep the code in the module updated with core API changes...
Additionally, these views could also support additional displays, such as blocks, for example the ones used on the profile page.
However the work on this would go far beyond what would be expected in this issue, with a lot of impacted files (removed code) and added views configuration in module's install folder.
I'm going to try taking a stab at this, then we could consider updating the issue summary.
As far as this ticket is concerned, the requrested page already seems to exist, but with a different path:
https://localizedrupalorg.ddev.site/admin/localization/l10n-server-proje...
Let's see what we could do with views and take it from there....
Comment #3
dydave commentedComment #4
fmb commentedI'd say this sounds like a lot of work for basic admin pages which might not need such flexibility... Let's discuss this on #localize on Slack.
Comment #5
gábor hojtsyCompared against the Drupal 7 admin pages, three release management features had no counterpart on 3.0.x:
admin/l10n_server/projects/releases/%/reset/%): drops the files, lines and parsing errors of the release, keeps source strings and translations, marks the release unparsed so it is parsed again.admin/l10n_server/projects/reset/%): the same for a whole project, including its releases, which the connector scans again; the project stays.admin/l10n_server/projects/cleanup): deletes source strings no release refers to any more, together with their translations and status flags.Added them as confirm forms with the Drupal 7 questions, descriptions and messages: 'Start over' operations on the project and release lists (
/admin/localization/projects/{id}/start-over,/admin/localization/releases/{id}/start-over) and a 'Clean up' action on the projects list (/admin/localization/projects/cleanup). The data work lives on the storage handlers (startOver()on projects and releases,countOrphans()anddeleteOrphans()on strings), shared with the 'Missing strings?' form of the translation page.Tests: new Drupal 7 test
testAdminStartOver()covering all three with data checks (other release untouched, strings kept until the cleanup, project waiting to be parsed), and its portL10nAdminStartOverTest.LLM was used to find, diagnose explain and fix this issue. With human review.
Comment #8
gábor hojtsy