Changes between Initial Version and Version 1 of Ticket #28636, comment 1


Ignore:
Timestamp:
Sep 28, 2017, 3:59:38 AM (7 years ago)
Author:
Denis Anuschewski

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28636, comment 1

    initial v1  
    11In my specific case I wrote a sub class from `LocaleMiddleware` in order to use `add_fallback` whenever a language gets detected that is not equal to `settings.LANGUAGE_CODE`. But that's not possible currently because you always get the value of `settings.LANGUAGE_CODE` when the discovered language is not in `settings.LANGUAGES`.
    22
    3 Overwriting the function `get_languages` didn't work for me because translation was then activated for every language. I only want translations for specific languages when I explicitly put them into `settings.LANGUAGES`, but I want a fallback for every language except of `settings.LANGUAGE_CODE`.
     3Overwriting the function `get_languages` didn't work for me because translation was then activated for every language. I would like to have translations only for specific languages when I explicitly put them into `settings.LANGUAGES`, but also a fallback for every language except of `settings.LANGUAGE_CODE`.
Back to Top