summaryrefslogtreecommitdiff
path: root/django/utils/translation/trans_real.py
AgeCommit message (Expand)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-03-30Fixed warnings per flake8 7.2.0.Mariusz Felisiak
2024-09-16Fixed #34221 -- Honored translation precedence with mixed plural forms.Claude Paroz
2024-07-25Fixed #35627 -- Raised a LookupError rather than an unhandled ValueError in g...Lorenzo Peña
2024-07-09Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_language_var...Sarah Boyce
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-05-02Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n pa...Mariusz Felisiak
2023-02-01Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Lan...Nick Pope
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
2022-10-13Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18...Sergio
2022-06-20Fixed #23689 -- Made parsing HTTP Accept-Language header case-insensitive.Zainab Amir
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-07Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews.Mariusz Felisiak
2022-01-07Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering
2021-12-17Changed signatures of setting_changed signal receivers.Adam Johnson
2021-12-03Fixed #33078 -- Added support for language regions in i18n_patterns().Maxim Piskunov
2021-09-27Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak
2021-05-05Fixed #32479 -- Added fallbacks to subsequent language codes in translations.Maxim Beder
2020-06-01Fixed #31570 -- Corrected translation loading for apps providing territorial ...Carlton Gibson
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
2020-03-10Fixed #30439 -- Added support for different plural forms for a language.Claude Paroz
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
2019-02-14Refs #15902 -- Deprecated storing user's language in the session.Claude Paroz
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2018-11-06Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset pa...Tim Graham
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-05-12Moved to_language() to django.utils.translation.Tim Graham
2018-05-12Consolidated duplicate to_locale() implementations.Tim Graham
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-03-03Fixed #29144 -- Made untranslated strings for territorial language variants u...Patryk Zawadzki
2018-02-21Changed "language-code" to the more commonly used "language code".Sebastian Sangervasi
2018-02-20Fixed #28755 -- Made check_for_language() include apps' locale directories.Chillar Anand
2017-12-26Fixed #28930 -- Simplified code with any() and all().Дилян Палаузов
2017-12-04Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов
2017-10-21Removed unnecessary tuple()/list() calls.Mads Jensen
2017-10-02Fixed #28642 -- Added caching to parse_accept_lang_header().Tom
2017-09-08Fixed #28546 -- Fixed translation's to_locale() with langauge subtags.Tim Graham
2017-09-08Removed to_lower parameter for translation's to_locale().Tim Graham
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-15Fixed #28304 -- Kept SafeData type for pgettext-translated stringsClaude Paroz
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-11Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan
2017-01-28Made ugettext* functions aliases of gettext*Claude Paroz
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz