replace language key with a core language key