[Koha-bugs] [Bug 12017] Move language description out of database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 31 05:09:35 CEST 2014


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

--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Note4: In the former procedure having something like this
in subtag_registry.sql was useless

INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES ( 'zh', 'language', 'zh', '中文');

INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES( 'zh', 'language', 'en', 'Chinese');

INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES( 'zh', 'language', 'fr', 'Chinois');

INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES( 'zh', 'language', 'de', 'Chinesisch');

(I mean the translations) because the former procedure will always use native
representation if present (zh - 中文), then current language (ej. in de -
Chinesisch ), then english version as last resort (Chinese)

I can reintroduce native versions, hardcoded so nobody tries to translate them,
and mimic former procedure, but in that case I don't see the point to translate
names.

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


More information about the Koha-bugs mailing list