[Koha-devel] To React or not to React

Julian Maurice julian.maurice at biblibre.com
Thu Sep 22 15:28:54 CEST 2016


On 22/09/2016 14:56, Owen Leonard wrote:
> - How does using React affect translations?
> 
> My impression from looking at React examples online (and from Bug
> 17297) is that React JS very often includes HTML markup in a way which
> would be too cumbersome to manage with the way we handle
> internationalization in JavaScript at this time. The volume of strings
> which would have to be defined in the templates would be unmanageable.

I don't know React, but it looks like this particular problem can be
solved by bug 15395. It allows (among other things) strings defined in
.js files to be translatable.

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

-- 
Julian Maurice <julian.maurice at biblibre.com>
BibLibre


More information about the Koha-devel mailing list