Modeltranslation ignores LANGUAGE setting

I have a djnago project where I use modeltranslation with 2 languages. I have defined LANGUAGES = .. in setting and added to installed_apps all apps from project and modeltranslation. The problem is that get_translation_fields() funtion from modeltranslation returns correct 2 languages for apps/general but returns all languages for apps/common and both apps are defiened the same. I have a resource that use this get_translation_fields() and it works well in apps/general but not in apps/common.

Вернуться на верх