mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Added --previous flag to msgmerge command used by makemessages
Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch.
This commit is contained in:
@@ -572,6 +572,10 @@ Internationalization
|
||||
app or project message file. See :ref:`how-to-create-language-files` for
|
||||
details.
|
||||
|
||||
* The :djadmin:`makemessages` command now always adds the ``--previous``
|
||||
command line flag to the ``msgmerge`` command, keeping previously translated
|
||||
strings in po files for fuzzy strings.
|
||||
|
||||
* The following settings to adjust the language cookie options were introduced:
|
||||
:setting:`LANGUAGE_COOKIE_AGE`, :setting:`LANGUAGE_COOKIE_DOMAIN`
|
||||
and :setting:`LANGUAGE_COOKIE_PATH`.
|
||||
|
||||
Reference in New Issue
Block a user