From 5f536d737597adf5dbe178ebfbb97c8f4c412b90 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Thu, 20 Nov 2025 05:42:19 +0100 Subject: [PATCH] fix: select existing tag name in langtag canonicalization Problem description in #312; this fix just uses the existing langtags name rather than the name from the .keyboard_info, which could vary. The name is used only as a display name, not a search name, so no searching will be impacted. It is possible that a different name may be selected as representative, but that is probably better because we should be using langtags.json for language names in most contexts anyway. Fixes: #312 --- tools/db/build/search-prepare-data-4.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/db/build/search-prepare-data-4.sql b/tools/db/build/search-prepare-data-4.sql index adc74e7..197c1bc 100644 --- a/tools/db/build/search-prepare-data-4.sql +++ b/tools/db/build/search-prepare-data-4.sql @@ -14,7 +14,7 @@ SELECT DISTINCT null, t.region, t.regionname, - kl.description, + t.name, 0, kl.script_id, kl.bcp47