Cast Language to language code (fix associated fatal)

Change-Id: Icce436c088c2fc71e1bd57a565d5f293f18e0917