https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15395
--- Comment #36 from Marc Véron <[email protected]> --- OK, I tested with 3 files: koha-tmpl/intranet-tmpl/prog/en/js/categories.js koha-tmpl/intranet-tmpl/prog/js/staff-global.js koha-tmpl/opac-tmpl/bootstrap/js/global.js All files were picked up in Koha.po I translated them and did a translate install Example for JavaScript used (added as line 1 of koha-tmpl/intranet-tmpl/prog/en/js/categories.js): alert(__nx("There is one category", "There are {count} categories", 4, {count: 4})); Translation in misc/translator/po/de_DE/LC_MESSAGES/Koha.po: #: koha-tmpl/intranet-tmpl/prog/en/js/categories.js:1 msgid "There is one category" msgid_plural "There are {count} categories" msgstr[0] "Es gibt {count} Kategorien" msgstr[1] "Es gibt nur eine Kategorie..." English page displays "There are 4 categories" (OK) German page displays "Es gibt nur eine Kategorie..." (WRONG) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
