Uploading locale files it really slow let's make it quicker

Created on 26 March 2025, about 1 month ago

Problem/Motivation

Importing translations from PO files is really slow. Drupal core provides PoReaders and PoWriters for files and databases. This process one row at a time which means we make 1000s of database queries. This issue is going to investigate providing an optimised PO loader from file to database in this module and then once we have it tested and working great we can extract it and move it to core.

Proposed resolution

TBD but likely to involve bulk inserting many rows at once.

Remaining tasks

All of them.

User interface changes

None

API changes

TBD

Data model changes

Should be none. Might make use of temporary tables but no data model should change.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024