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

            Bug ID: 33077
           Summary: Improve ease of translating template title tags
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: oleon...@myacpl.org
        QA Contact: testo...@bugs.koha-community.org
                CC: frede...@tamil.fr
        Depends on: 15395

Title tags (<title>) in templates present an especially difficult case for
translators because we can't use our usual trick of wrapping text elements with
<span>. This results in strings like this waiting for translation:

#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt:6
#, c-format
msgid ""
"%s %s Modify city %s New city %s &rsaquo; %s %s Confirm deletion of city "
"&rsaquo; %s %s Cities &rsaquo; Administration &rsaquo; Koha "

We can instead use the i18n template plugin introduced by Bug 15395 to wrap
individual title tag elements like so:

[% t("Modify city") | html %]


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15395
[Bug 15395] Internationalization: plural forms, context, and more
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to