Opened 14 years ago
Closed 8 years ago
#8461 closed defect (wontfix)
Catalan translation and issues with msgid's
Reported by: | Jordi Mallach | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | i18n |
Cc: | Robert Corsaro, Ryan J Ollos | Trac Release: | 0.12 |
Description
Hi,
Attached is an initial Catalan translation of most of Announcer plugin. It is “most” and not the complete translation because I figured the strings need fixing, and I'll have to retranslate most of the thing again, so better not bother to do it now.
The problem with the strings is that the plugin uses "string concatenation" in many parts of the code. This is a big problem for some languages, which simply won't be able to translate Announcer using correctly structured sentences:
#: announcer/templates/fullblog_plaintext.txt:20 #, python-format msgid "" "{% end %}\\\n" "{% end %}\\\n" "\n" "{% if category == 'post deleted' %}\\\n" "Deleted post \"" msgstr ""
In this case, the string is missing an argument, which can't be placed in some other place of the sentence, if the translator needs to do that. Also, in Catalan we translate " quotes as «, so I'm not able to replace the closing " with ».
msgid "Deleted version \""
msgid "\" of post \""
This is an example of concatenated strings, which should be avoided like a pest. Please use something like Deleted version "%s" of post "%s"
.
Attachments (1)
Change History (6)
Changed 14 years ago by
Attachment: | announcer.ca.po added |
---|
comment:1 Changed 13 years ago by
Keywords: | i18n added |
---|---|
Owner: | changed from Robert Corsaro to Steffen Hoffmann |
Summary: | Catalan translation && issues with strings → Catalan translation and issues with msgid's |
Hey, just checking some tickets that came in here over the last few moths.
Since I've done i18n, I assign it to myself. And there is more work by Jun Omae towards better msgid's (#9192), that I'll resolve together with your comment.
Thank you for this valuable contribution (108 of 136 msgid's translated), and sorry for not seeing it earlier.
comment:2 Changed 13 years ago by
Cc: | Robert Corsaro Ryan J Ollos added; anonymous removed |
---|
Let the maintainer and a fellow developer keep track too.
comment:3 Changed 13 years ago by
Thanks hasienda, I just subscribed to that ticket. Looks promising!
comment:4 Changed 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|
comment:5 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.
Catalan translation of Announcer