[wp-trac] [WordPress Trac] #8551: Localized strings with plural
forms (msgid_plural) seem not to work anymore
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 10 00:39:49 GMT 2008
#8551: Localized strings with plural forms (msgid_plural) seem not to work anymore
------------------------+---------------------------------------------------
Reporter: mastermind | Owner: nbachiyski
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: i18n | Version: 2.7
Severity: normal | Keywords:
------------------------+---------------------------------------------------
I don't know if this is an error with my translation, or if something
changed (that has worked before). Anyway, it appears that in the current
trunk, strings which have plural forms, don't work anymore.
The strings look as follows:
msgid "Tag"
msgid_plural "Tags"
msgstr[0] "Schlagwort"
msgstr[1] "Schlagworte"
In the translated-to-be output, the term "Tag" is not replaced by
"Schlagwort".
How to reproduce:
- Download the attached translation and save it as de_DE.po
- compile it (e.g. `msgfmt -o de_DE.mo de_DE.po`)
- move de_DE.mo to /wp-content/languages/
- set WPLANG to 'de_DE' in wp-config.php
- now go to /wp-admin/plugin-install.php in your browser and click the
dropdown saying "Suchbegriff". You will see the third entry "Tag", even
though it runs through the translation function.
- The same is visible on /wp-admin/edit-comments.php: The texts "All" and
"Approved" above the table should actually read "Alle" and "Freigegeben".
--
Ticket URL: <http://trac.wordpress.org/ticket/8551>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list