Skip to content

fdroiddata localization fixes

These are a couple of fixes to fdroidserver in order to fully support localized app descriptions in fdroiddata. This does mean some changes to how things work in fdroiddata. fdroiddata must have the power to override things provided by the upstream source repo, including the descriptive texts. In this case, this is about Name/Auto Name/Summary/Description. Right now, here's the priority ladder, from highest priority, which overrides everything, to the lowest:

  • fdroiddata's metadata/<packageName>.txt: overrides all translations, so only this version will ever be displayed
  • fdroiddata's metadata/<packageName>/<locale>/<field>.txt: overrides only the specific locale from upstream
  • upstream's metadata/<packageName>/<locale>/<field>.txt

This means that if we keep the Summary/Description where it currently is (fdroiddata's metadata/<packageName>.txt) then the translated texts will never be shown. For examples of this in action, see fdroiddata!2262 (merged)

@krt @grote

Edited by Hans-Christoph Steiner

Merge request reports