summaryrefslogtreecommitdiff
path: root/django/utils/translation/__init__.py
AgeCommit message (Expand)Author
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-04-10Fixed #34455 -- Restored i18n_patterns() respect of prefix_default_language a...sarahboyce
2022-10-31Used more augmented assignment statements.Nick Pope
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-03-22Fixed #32581 -- Prevented to_locale() from corrupting locale names.Claude Paroz
2021-01-14Refs #15902 -- Stopped set_language() storing user's language in the session.Mariusz Felisiak
2021-01-14Refs #30165 -- Removed ugettext(), ugettext_lazy(), ugettext_noop(), ungettex...Mariusz Felisiak
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-06-11Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and filesizefo...Jon Dufresne
2019-02-08Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), unge...Jon Dufresne
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
2018-12-06Fixed #29986 -- Added .format() support to ngettext_lazy strings.Patrick Arminio
2018-11-23Improved readability of translation's to_locale().Jaap Roes
2018-05-12Moved to_language() to django.utils.translation.Tim Graham
2018-05-12Consolidated duplicate to_locale() implementations.Tim Graham
2018-02-23Fixed #27449 -- Added django.utils.translation.get_supported_language_variant().Sebastian Sangervasi
2017-09-29Refs #27067 -- Removed string_concat in django.utils.translation.__all__.Mariusz Felisiak
2017-09-22Refs #27067 -- Removed django.utils.translation.string_concat() per deprecati...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-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-28Made ugettext* functions aliases of gettext*Claude Paroz
2017-01-19Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator.Chillar Anand
2017-01-19Refs #23919 -- Removed __nonzero__() methods (for Python 2).Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-10-01Refs #26940 -- Re-allowed makemessages without settingsClaude Paroz
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
2016-08-25Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().Mattias Loverot
2016-08-11Fixed #27034 -- Made makemessages independent of USE_I18NClaude Paroz
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-02-15Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.Alexey Kotlyarov
2015-10-22Fixed #25571 -- Fixed boolean evaluation of ungettext_lazyClaude Paroz
2015-08-25Fixed #25295 -- Restored 'no active translation' after language overrideClaude Paroz
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-02Fixed #24230 -- Added translated language name for i18n template tag/filter.Tomáš Ehrlich
2014-08-30Fixed #22820 -- Treated int and long types alike in lazy_numberClaude Paroz
2014-08-28Fixed #23381 -- Context manager restored state should be determined in __enter__Thomas Chaumeny
2014-08-28Fixed #23323 -- Made django.utils.translation.override usable as a decorator.Thomas Chaumeny
2014-07-14Fixed #23005 -- Allowed specifying special fallback languagesClaude Paroz
2014-05-06Fixed #22586 -- Added LANGUAGE_SESSION_KEY to __all__.Tim Graham
2014-02-26Fixed #21389 -- Accept most valid language codesBouke Haarsma
2014-02-22Extra new line to make flake8 happyAlex Gaynor
2014-02-22Fixed #22120 -- Documented persistent activation of languages and cleaned up ...Erik Romijn
2013-11-08Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma