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

Others:

Comments

nicoloye created an issue. See original summary.

nicoloye’s picture

Related issues: +#3274238: Port l10n_packager
gábor hojtsy’s picture

Title: [META] Porting localize to Drupal 9 » [META] Porting localization server module to Drupal 9
sanduhrs’s picture

sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
fmb’s picture

Issue summary: View changes
fmb’s picture

Issue summary: View changes
sanduhrs’s picture

Version: 2.0.x-dev » 3.0.x-dev

We decided to work on the new 3.0.x branch after a call from MoutainCamp.

sanduhrs’s picture

Issue summary: View changes
gábor hojtsy’s picture

Issue summary: View changes
sanduhrs’s picture

sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Issue summary: View changes
sanduhrs’s picture

Bluecheese has a 1.x branch now #2447765: [D8] - Port Bluecheese to D8 - yay!

nicoloye’s picture

Issue tags: +Drupalcon Prague 2022

In 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.

fmb’s picture

Issue summary: View changes
nicoloye’s picture

Issue summary: View changes

  • sanduhrs committed ace9154 on 3.0.x
    Issue #3274237 by sanduhrs: [META] Porting localization server module to...

  • sanduhrs committed 6f0eb67 on 3.0.x
    Issue #3274237 by sanduhrs: [META] Porting localization server module to...
fmb’s picture

Status: Active » Closed (outdated)

Closing in favour of the newer roadmap in #3363374: [META] Localize server 3.0.x roadmap.

ericdsd’s picture

Issue summary: View changes