[Koha-bugs] [Bug 20988] Internationalization: wrap all translatable text inside t() calls
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 24 17:01:17 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20988
--- Comment #46 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Fridolin SOMERS from comment #45)
> Is it possible to use double-quotes ?
> [% t("translate me") %]
> Because actually translations are made for text with double quotes
> especially for JavaScript. Because some translated text can add a single
> quote like :
> today => aujourd'hui
You can use single quotes or double quotes. It doesn't matter since strings are
translated at runtime (and not replaced in the source file like `./translate
install` does).
So you can write
[% t('A string with "double quotes"') %]
and
[% t("A string with 'single quotes'") %]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list