[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 5 12:29:37 CEST 2017


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

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch doesn't apply         |Needs Signoff

--- Comment #21 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Marc Véron from comment #16)
> Patch does no longer apply.
> 
> How would disambiguation work?
> 
> e.g. for the 3 meanings of "Title" mentioned in
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11285#c25

To attach context to a string, you have to use one of the 'p' variants (__p,
__px, __np, __npx). This context will appear in the PO file to help the
translator and gettext will use this information to choose the right
translation

https://www.gnu.org/software/gettext/manual/html_node/Contexts.html

Eg.
  __p('Patron', 'Title')
  __p('Bibliographic record', 'Title')

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


More information about the Koha-bugs mailing list