replace a language key with a core language key