[Evergreen-general] Translation Wrappers in base.tt2

Jessica Woolford jwoolford at biblio.org
Thu Sep 22 14:38:20 EDT 2022


Hi everyone,

Just thought I'd reply here with what we figured out about this, in case
anyone runs across a similar issue. Because the icon is included in the
first language wrapper, the msgid and msgstr for the example Gina provided
is as follows:

msgid "<i class='fas fa-book' aria-hidden='true'></i> <span
class='sumNum'>[_1]</span>Items Checked Out"
msgstr " <i class='fas fa-book' aria-hidden='true'></i> <span
class='sumNum'>[_1]</span>Títulos Prestados"

Hope that helps someone else, we were stumped for a while!

Jessica


On Wed, Sep 21, 2022 at 12:41 PM Gina Monti via Evergreen-general <
evergreen-general at list.evergreen-ils.org> wrote:

> Hi All,
>
> I'm finalizing our translation for the OPAC (Bootstrap), and I had a
> question about the wrapper format in this
> file: Open-ILS/src/templates-bootstrap/opac/parts/myopac/base.tt2
>
> Here's an example:
>
> {children => 3, parent => "parent",url => "circs", text => l("<i
> class='fas fa-book' aria-hidden='true'></i> <span
> class='sumNum'>[_1]</span>Items Checked Out",
> ctx.user_stats.checkouts.total_out), name = l("Circulations")},
>
> This file is in regards to the headers in the my opac menu seen in the
> attachment.
>
> I have the strings translated in the es-ES.po file that refers to the path
> file above, but I'm not seeing the translation in the GUI.  Is it possible
> that the format of the wrappers is causing this issue?  If so, would anyone
> know how it should be formatted?  I tried different variations but couldn't
> get anything to stick.
>
> Feel free to email me off list if you want!  Thanks!
>
> --
> Gina Monti
> Evergreen Systems Specialist
> Bibliomation, Inc.
> (203) 577-4070 ext. 109
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>


-- 
Jessica Woolford
Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070 ext. 105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20220922/da843f91/attachment.htm>


More information about the Evergreen-general mailing list