http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10509

--- Comment #6 from M. de Rooy <[email protected]> ---
Other points from irc discussion:

Why not use SOURCE in the sql files to refer to english?
Or use a file like 'usesupdates'  in the lang folder to tell the installer to
run english first?

-- idea borrowed from Evergreen
CREATE FUNCTION i18n(str TEXT) RETURNS TEXT DETERMINISTIC
RETURN str;
-- then mark up insert statements with the strings we want to translate
INSERT INTO `userflags` VALUES(9,'editcatalogue',i18n('Edit Catalog (Modify
bibliographic/holdings data)'),0);
-- the i18n() bit is just syntactical sugar to make it easy to extract strings
for a POT file
-- then code (to be written) would create the language-specific inserts from
the PO files
INSERT INTO `userflags` VALUES(9,'editcatalogue','Katalogdaten ändern (Titel-
und Bestandsdaten ändern)',0);

-- 
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/

Reply via email to