appstore icon indicating copy to clipboard operation
appstore copied to clipboard

Incorrect Translation of Time Strings for pt_BR

Open fbausch opened this issue 8 months ago • 7 comments

There is an issue with incorrect translation of time strings in the app store when using a browser set to pt_BR. However, I cannot find the right location to fix it on Transifex.

Steps to reproduce

  1. Open an app store listing, such as https://apps.nextcloud.com/apps/deck, with a browser set to pt_BR
  2. Scroll down to the comments
  3. It contains the name, the star rating, and a string when the comment was added. For example, "6 meses, 2 semanasatrás".

Expected behaviour

The string should have a space before "atrás" ("6 meses, 2 semanas atrás")

Actual behaviour

Image

Browser

Browser name: Firefox

Browser version: 137.0.2

Operating system: Linux

fbausch avatar Apr 22 '25 07:04 fbausch

Hello @rakekniven , can you please take a look at this in the Transifex service if you have time. We will be much appreciated for this.

oleksandr-nc avatar Apr 23 '25 13:04 oleksandr-nc

I checked it and the translation is ok. Maybe the app store needs an deployment update? @tobiasKaminsky Do you have a scheduled maintenance for the app store?

EDIT: I was looking for a string from recognize resource. So wrong assumption.

rakekniven avatar Apr 24 '25 13:04 rakekniven

I will update AppStore during this weekend.

oleksandr-nc avatar Apr 24 '25 17:04 oleksandr-nc

done

oleksandr-nc avatar Apr 25 '25 05:04 oleksandr-nc

@oleksandr-nc unfortunately the issue is still there. Can you point me to the source code line of this string?

rakekniven avatar Apr 26 '25 16:04 rakekniven

I found the offending translation, but it's in the upstream django package. Django 5.1 or higher has the fixed translation, but I don't know if we're ready to migrate from Django 4 just yet. @oleksandr-nc what do you think?

edward-ly avatar Apr 26 '25 18:04 edward-ly

We can only migrate to Django 5.2 (it's an LTS version). But considering that it's only for one translation, this migration won't be a high priority, IMHO.

Maybe there are some other nice things that Django 5.2 can give us?

oleksandr-nc avatar Apr 28 '25 06:04 oleksandr-nc