[Koha-bugs] [Bug 33134] Add some missing languages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 11 08:45:14 CET 2024


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

--- Comment #9 from Lari Strand <lmstrand at gmail.com> ---
Some languages that do not show on facets/ are missing from
language_rfc4646_to_iso639 and they don't even seem to have a two letter
rfc4646 code, like afa/Afroasiatic languages. Where does Koha use the rfc4646
code?

I added a couple of missing ones to the rfc4646_to_iso639 table using the three
letter iso639 codes for both rfc4646_subtag and iso639_2_code fields in the
language_rfc4646_to_iso639 and added a local translation to
language_descriptions and now the language shows translated instead of just a
three letter code in the facets.

Shouldn't we at least try to add all the languages to the
language_rfc4646_to_iso639 -table? Like, all 400+ of them (loc.gov). Sounds
like a lot of work to check out if the language codes have a rfc4646
equivalent. If the languages are missing from that table, there no use having a
local translation in your database since it can't be fetched.

Ps. We have now 116 language codes in language_rfc4646_to_iso639 and translated
to Finnish + Swedish (language_descriptions) in Koha-Suomi. We use
Elasticsearch.

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


More information about the Koha-bugs mailing list