On language resource creation only language IDs are allowed. For task creation we allow also rfc5949 and lcid values for the languages. Adopt that for LanguageResources.