fix hard codeds
use new utility function to convert language codes just before they hit the html