Weblate OMP download translation problem with hr_HR and hr paths

I started translating OMP into Croatian, and to do so I needed to add Croatian language to omp/locale component.

However, when I try to download translation it seems that added language is hr instead of hr_HR and path to it is wrong:

Archive:  /tmp/translations.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
     1531  2021-04-22 08:13   omp/admin/plugins/generic/webFeed/locale/hr_HR/locale.po
      622  2021-04-22 08:13   omp/admin/plugins/blocks/information/locale/hr_HR/locale.po
      877  2021-04-22 08:13   omp/admin/plugins/blocks/developedBy/locale/hr_HR/locale.po
     4292  2021-04-22 08:13   omp/admin/plugins/importexport/users/locale/hr_HR/locale.po
      524  2021-04-22 08:13   omp/admin/plugins/blocks/languageToggle/locale/hr_HR/locale.po
      597  2021-04-22 08:13   omp/admin/locale/hr_HR/admin.po
      597  2021-04-22 08:13   omp/admin/plugins/pubIds/doi/locale/hr/locale.po
      654  2021-04-22 08:13   omp/admin/locale/hr/manager.po
     2119  2021-04-22 08:13   omp/admin/locale/hr/locale.po
     3280  2021-04-22 08:13   omp/admin/locale/hr/submission.po
---------                     -------
    15093                     10 files

I’m not sure how to fix this, so I would need help with this.

Hi @dpavlin,

Thanks for the heads-up – I’ve adjusted the files in the OMP project in Weblate, and set Weblate to use hr_HR in the future.

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 41 hours. New replies are no longer allowed.