Order translations alphabetically

Created on 27 March 2023, almost 2 years ago
Updated 2 July 2024, 6 months ago

Problem/Motivation

When exporting translations with drush_language β†’ , they are not sorted in a logical order.
This makes Git diffs of the .po file really hard to read.

Steps to reproduce

Call PoDatabaseReader::readItem() multiple times.
You get translations in a seemingly random order.

Proposed resolution

Sort translations alphabetically directly in the SQL query in StringDatabaseStorage::dbStringSelect().

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
LocaleΒ  β†’

Last updated 9 days ago

Created by

πŸ‡«πŸ‡·France prudloff Lille

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024