Thread:User talk:CodeCat/nrf for Norman/reply (3)

Module:wikimedia languages/data defines the mapping from Wikimedia languages to Wiktionary ones. So it's what you'd use if you have a Wikimedia code and want to convert it to a local code. What you're doing is the reverse, which is handled by our regular language modules.