Zanata/MT should handle locale codes better

Description

Codes such as zh-Hant-TW are rejected by MT as not supported, but could generally just be sent as zh-Hant. It would be best to store these in the database as the original (zh-Hant-TW), to be correct, but still match to use the cache.

Environment

None

Assignee

Unassigned

Reporter

Damian Jansen

Labels

Tested Version/s

None

Affects versions

Priority

unspecified
Configure