[Koha-bugs] [Bug 15395] Allow correct handling of plural translation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 19 14:19:06 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15395

--- Comment #49 from Marc Véron <veron at veron.ch> ---
(In reply to Julian Maurice from comment #48)
> Thanks for testing Marc!
> Have you also tested translation with context (regarding bug 11285) ?

Just tested:
- Inserted the following in a template file:
<p>AAAA: [% tp("Biblio","Title") %]</p>
<p>BBBB: [% tp("Person","Title") %]</p>

- translate update de-DE

- Edit misc/translator/po/de_DE/LC_MESSAGES/Koha.po

#: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:1
msgctxt "Biblio"
msgid "Title"
msgstr "Überschrift"

#: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:2
msgctxt "Person"
msgid "Title"
msgstr "Anrede"

- translate install de-DE

Went to page, displys in English:

AAAA: Title
BBBB: Title

...and in German (de-DE):
AAAA: Überschrift
BBBB: Anrede

Works great!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list