[Koha-bugs] [Bug 26392] Wrap all translatable strings in opac-main.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 11 01:53:08 CET 2020


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

--- Comment #23 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #19)
> (In reply to David Cook from comment #18)
> > Overall, I'll do whatever other people decide needs to be done, but I just
> > worry that we're trying to re-invent the wheel sometimes and do things a
> > harder way, when other projects have already sorted out internationalization
> > more gracefully.
> 
> How could we do that better? Do you have any suggestions?

Suggestion 1:
Referring back to
https://developer.atlassian.com/server/framework/atlassian-sdk/pluralising-internationalisation-strings/,
I think that we could do easy things like "Simplify the Message into a
Plural-Independent Phrase". 

Suggestion 2:
Use a token based i18n scheme like Java (which has a huge history in
internationalization as it was the origin of ICU):
https://docs.oracle.com/javase/tutorial/i18n/intro/steps.html

Suggestion 3:
Look at what others have done in Perl:
https://metacpan.org/pod/Catalyst::Plugin::I18N
https://metacpan.org/pod/Mojolicious::Plugin::I18N

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


More information about the Koha-bugs mailing list