Use language name, not key, in profile. Fixes #1686