http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11848 Bug ID: 11848 Summary: Make Koha::I18N easier to user Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: julian.maurice@biblibre.com Reporter: julian.maurice@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: frederic@tamil.fr Depends on: 8044 Actually (with bug 8044), to translate a string in a Perl script or module you have to write: use CGI; use Koha::I18N; my $cgi = new CGI; my $lh = Koha::I18N->get_handle_from_context($cgi, 'intranet'); print $lh->maketext('my translatable text'); With the patches I'll submit, this will become: use Koha::I18N; print gettext('my translatable text'); -- You are receiving this mail because: You are watching all bug changes.