Update function to make language code safe
Somewhat works