Move GetLangValuesMapping out of MiscScreens.cpp so it can be used globally.

Should fix Headless and make GetLangValuesMapping easier to use.