Opened 4 years ago

Last modified 2 years ago

#31937 closed Bug

Can't translate strings properly to Hebrew and Arabic — at Version 2

Reported by: אורי Owned by: nobody
Component: Internationalization Version: dev
Severity: Normal Keywords:
Cc: אורי Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by אורי)

I can't translate strings such as "2 weeks" to Hebrew and Arabic properly. There is a word in Hebrew and a word in Arabic for 2 weeks, but I get an error message "The expression '%d' is not present in the translation" in Transifex and also msgfmt -vc django.po raises exceptions. In some languages, with some plural forms, such as n == 1 or n == 2, we don't need %d to be present in the translation. Also "1 week" can be written in words "one week", also in Hebrew, and I think it's a better translation than "1 week". I also think English can use "one week" instead of "%d week" ("1 week", but in English, there is the issue of capital letters).

Change History (2)

comment:1 by אורי, 4 years ago

Cc: אורי added

comment:2 by אורי, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top