Issue #38 resolved

Filipino locale is being interpreted as Finnish

Anonymous created an issue

Function supported_language in utils.py uses the first two letters of the locale to search for the corresponding supported language. This causes Filipino (locale"fil") being incorrectly interpreted as Finish (locale "fi").

I've replaced locale[:2] with locale.partition('-')[0] in that function and everything works fine now.

Comments (1)

  1. Log in to comment