[PATCH] Use a slightly different method to get supported languages (#858801, tagoh).