Problem/Motivation
Localize is still using D7, we need to migrate it to D9. One of the main blocker for this is the l10n_server module. This issue focuses on porting this module to D9.
Proposed resolution
There are currently 3 different contexts, using each a dedicated connector:
File upload (eg drupal.8.7.po): l10n_gettext
Folder containing tar.gz files: l10n_drupal
Pulling a .tsv file from drupal.org: l10n_drupal_rest (this is the one used on localize.drupal.org)
The core feature that we want to focus on at the moment is the l10n_drupal_rest connector, as it is the only one coming from drupal.org and it allows Localize to get the full list of existing projects (https://www.drupal.org/files/releases.tsv).
There is a strong dependency to l10n_community within the current code, but its features are specific to localize.drupal.org: it displays the latest Drupal core translation status and data. So we agreed that there is no need to require it within l10n_server for now, we will port the code without these features - they should probably live in a dedicated localize module.
Development setup
We have a D9 platform branch here to simplify the team work.
Please see the README: https://git.drupalcode.org/issue/localizedrupalorg-3273538/-/tree/327353...
Remaining tasks
- #3292736: Porting l10_server submodule
- #3280685: Porting l10n_drupal_rest
- #3282696: Port of l10n_community
- #3274238: Port l10n_packager
#3292197: Port l10n_groups/ #3395640: Test l10n groups implementation- #3292192: Port localization server testsuite to Drupal 9
- #3292220: Create data migration or upgrade path
- #3292198: Port l10n_remote / #3292824: Provide a REST based API
- #3311393: [META] UX/UI thinking / #3311393: [META] UX/UI thinking
- #3312295: Implement class resolver pattern in the .module file
- #3312293: Move the current code repository to the new localize repository
- #3312291: Update documentation for the local environment setup
Others:
- Port hook_menu (non blocker, l10n_community dependency) and linked dashboard > WIP by FMB
- Finish creating l10n_stats submodule
- #2447765: [D8] - Port Bluecheese to D8
- #3292239: Different string count for D7 / D9 versions of potx
Comments
Comment #2
nicoloye commentedComment #3
gábor hojtsyComment #4
sanduhrsComment #5
sanduhrsComment #6
sanduhrsComment #7
fmb commentedComment #8
fmb commentedComment #9
sanduhrsWe decided to work on the new 3.0.x branch after a call from MoutainCamp.
Comment #10
sanduhrsComment #11
gábor hojtsyComment #12
sanduhrsComment #13
sanduhrsComment #14
sanduhrsComment #15
sanduhrsComment #16
sanduhrsComment #17
sanduhrsComment #18
sanduhrsComment #19
sanduhrsComment #20
sanduhrsComment #21
sanduhrsComment #22
sanduhrsComment #23
sanduhrsComment #24
sanduhrsComment #25
sanduhrsBluecheese has a 1.x branch now #2447765: [D8] - Port Bluecheese to D8 - yay!
Comment #26
nicoloye commentedIn DrupalCon Prague we decided to meet on a weekly basis on wednesday 2PM CET.
You can also join the team through the #localize channel on slack.
Comment #27
fmb commentedComment #28
nicoloye commentedComment #31
fmb commentedClosing in favour of the newer roadmap in #3363374: [META] Localize server 3.0.x roadmap.
Comment #32
ericdsd commented