kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Review the i18n tooling to ensure the deletion of the old CSV files with context

Open radinamatic opened this issue 1 year ago • 0 comments

Observed behavior

During the most recent update of the translated strings from Crowdin, I run into a rabbit-hole where no mater what I did, the translations downloaded from Crowdin would be older (very old) versions, and not those approved in the most recent string freeze. @rtibbles suggested I check my local repo for the old CSV context files that have not been cleaned up properly, and that indeed was the case.

1 2
2024-02-12_22-04-08 2024-02-12_22-07-54

As soon as I deleted the old CSV files (some 2+ years old) that were not part of the most recent execution of the make i18n-download... command, proper translations were being fetched again.

Errors and logs

Expected behavior

make i18n-download... command should fetch the most recently approved translations for the exact branch it's being invoked.

User-facing consequences

Older and incorrect translations can sneak back in the current UI.

Steps to reproduce

Check if you have old CSV context files in the locale/.../LC_MESSAGES folders, and you might e able to reproduce.

Context

  • Kolibri version: 0.16b13
  • Operating system: Ubuntu 22.04

radinamatic avatar Feb 12 '24 22:02 radinamatic