Updates translate parameter to use language code

Translate parameter used human-readable language name as a value, which
led to unnecessary processing to convert this to a language code and
back. This commit sets the value to directly use the language code.