[Koha-bugs] [Bug 30733] Simplify translatable strings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 05:42:45 CEST 2022


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

--- Comment #42 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Thanks for the feedback Julian and Jonathan :D

I'll 1st address the part about i18n TT functions.

(In reply to Julian Maurice from comment #39)
> Hey, have you heard about
> https://gitlab.com/koha-community/Koha/-/blob/master/docs/development/
> internationalization.md ? :-)

Of course I did :P , on Bug 29602 I pushed to use that instead of <span> but it
couldn't be done (more on that bellow) and nothing changed on the situation of
use of i18n TT functions so for this ticket I reluctantly used the same method
as bug 29602. Which I find cluttering so I would be happy to make a 180° turn
here and replace the ugly <span> with t().


(In reply to Jonathan Druart from comment #41)
> Yes, and what Julian said, the i18n TT functions are the way to go for
> complicated strings/structures.

Which couldn't be used for bug 29602 so I followed the same constraint here.

But you are the right person to clear the uncertainty about the used of i18n TT
functions because you raised the concern about them on bug 29602 comment 7

> IIRC there were perf issues

That question was hard to settle on bug 20988. Current state is that I'm not
sure what was the methodology you suggested to measure this accurately and
asked for confirmation.

So what is your current position? I guess it's because of the not that high
number of strings that performances aren't a worry here. But so was the case
for bug 29602.

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


More information about the Koha-bugs mailing list