Translations
Help:Langtags/9/en
Changing the code would affect only those two parts of the process. If we switch from one language tag to an other, we would have to:
- Add a new property BCP47 locally as you suggested (a bot can import them from Wikidata);
- Rename all local lists (can be made by hand, we don't have many lists for now on);
- Rename all existing Wikimedia Commons categories and move all the audio recordings (a bot there is required);