Opened 15 years ago
Last modified 15 years ago
#8991 new task
Translation of Trac to Armenian [hy_AM]
Reported by: | Owned by: | narine_martirosyan | |
---|---|---|---|
Priority: | normal | Milestone: | translations |
Component: | i18n | Version: | 0.12dev |
Severity: | normal | Keywords: | l10n armenian հայերեն |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This ticket should be used to coordinate the translation to Armenian.
See also wiki:TracTermsAM.
Attachments (5)
Change History (20)
comment:1 by , 15 years ago
Summary: | This ticket concerns the Trac project Armenian translation → Translation of Trac to Armenian [hy_AM] |
---|
by , 15 years ago
Attachment: | messages.po added |
---|
follow-up: 4 comment:2 by , 15 years ago
The messages.po file needed to be added to locale/hy_AM/LC_MESSAGES directory.
comment:3 by , 15 years ago
Noticed ;-) Thanks for your contribution, I'll merge the catalog this evening.
comment:4 by , 15 years ago
Replying to training@…:
The messages.po file needed to be added to locale/hy_AM/LC_MESSAGES directory.
I actually added it to source:trunk/trac/locale/hy/LC_MESSAGES, as the two letters ISO 639-1 code should be the preferred name if there's no real need for an additional country code (see ticket:7353#comment:17). In case you think _AM is really needed, just tell us so and we'll make the change.
I also performed a catalog update, so you take the latest version for finishing the translations (r9081).
comment:6 by , 15 years ago
A had a look at the hy/LC_MESSAGES/messages.po file at revision 9090 and it contains Hungarian translation. It is something strange:). My attached messages.po contains Armenian translation. Could you please correct this?
comment:7 by , 15 years ago
Oh btw, the "0%" status for Armenian seen on Transifex is due to the errors reported by msgfmt. Though those errors are not really ones for Babel, it could be nice to fix them:
$ msgfmt --check trac/locale/hy/LC_MESSAGES/messages.po trac/locale/hy/LC_MESSAGES/messages.po:244: `msgid' and `msgstr' entries do not both end with '\n' trac/locale/hy/LC_MESSAGES/messages.po:361: `msgid' and `msgstr' entries do not both end with '\n' trac/locale/hy/LC_MESSAGES/messages.po:376: `msgid' and `msgstr' entries do not both begin with '\n' trac/locale/hy/LC_MESSAGES/messages.po:2077: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid' trac/locale/hy/LC_MESSAGES/messages.po:2084: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid' trac/locale/hy/LC_MESSAGES/messages.po:2091: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid' msgfmt: found 6 fatal errors
by , 15 years ago
Attachment: | messages.2.po added |
---|
The corrected messages.po. Previous one contains incorrect translations.
comment:9 by , 15 years ago
follow-up: 12 comment:10 by , 15 years ago
The current version without plurals translations passed the checking (msgfmt —check) on our side. After adding the following translation:
#: trac/templates/macros.html:214 #, python-format msgid "%(num)s of %(total)s %(unit)s %(title)s" msgid_plural "%(num)s of %(total)s %(units)s %(title)s" msgstr[0] "%(num)s of %(total)s %(unit)s %(title)s" msgstr[1] "%(num)s of %(total)s %(units)s %(title)s"
I got the following error:
messages.po:2078: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid' msgfmt: found 1 fatal error.
Could you please help us with the problem?
comment:11 by , 15 years ago
Ooo I had a look at different locales translations. There are lot of such problems in the locales. E.g. fr_FR, nl_NL, zh_CH, and etc.
comment:12 by , 15 years ago
Type: | enhancement → task |
---|
Replying to training@…:
After adding the following translation: …
I got the following error:
…
Could you please help us with the problem?
This is being addressed in #8588.
comment:14 by , 15 years ago
Updated messages.po file is attached. Please replace it with the existing one.
comment:15 by , 15 years ago
Owner: | set to |
---|
by , 12 years ago
Attachment: | l10n-hy.diff added |
---|
diff after tx pulll -f -l hy && make update
, on r11575
The file messages.po contains the Armenian translation texts for Trac project.