mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 20:00:11 -06:00
pack_for_tag tries a variant without its region before the region alone (ca-ES-valencia -> ca-valencia -> ca-es -> ca), as craft-proof now does. MORE_LANGUAGES stores Word's ca-ES-valencia; tag_for_pack and language_name map ca-valencia onto it. language_checks and language_list compare through same_language: the same tag, or named alike and proofed alike (two pack languages read from the same pack, or the same locale without its region when no pack is known), so "nl" no longer shows two Dutch rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCYmv6UJmY2QcuhfXco