I came across this as a library reported a very strange translation: / koha-tmpl / intranet-tmpl / prog / en / modules / reserve / request.tt 318 [% IF ( alreadypossession ) %] 319 <li> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a> <strong>is already in possession</strong> of one item</li> 320 [% END %] The problem here is that this ends up as 2 separate strings that make it really hard to build a correct sentence: of one item is already in possession I think for now I'd like to suggest to only use bold formatting on full sentences or single words, but not within a string.
(In reply to Katrin Fischer from comment #0) (...) > I think for now I'd like to suggest to only use bold formatting on full > sentences or single words, but not within a string. We have such rule in the Coding Guidelines, but for JS only: http://wiki.koha-community.org/wiki/Coding_Guidelines#JS3:_Avoid_strings_which_mix_text_and_markup JS3: Avoid strings which mix text and markup Text mustn't contain HTML tags. I agree that the guidelines should be adapted to cover examples as above as well. See: http://irc.koha-community.org/koha/2015-11-22#i_1759100 20:16 there is a bug for not having bold /italic etc lke that 20:16 i tend to ask to make it a coding guideline 20:17 'avoid formatting single words bold in sentences or link single words out of a sentence'
At this time I think it's right to set up a guideline to avoid translation problems, but I think it's pretty clear that our translation system is broken if we can't use HTML within sentences.
I believe we have some ways to work around this now using the more modern translation tools. I am closing this as FIXED.