No, it is not a temporary solution, settings.LANGUAGES is list of tuples, and here I convert it to dict.