... します。 注釈 プロジェクトで翻訳機能が有効になっていることを確認してください (最も早いのは、 MIDDLEWARE が django.middleware.locale.LocaleMiddleware を含むかどうかチェックすることです) 。まだの場合は、 Django はどうやって言語の優先順位を検出するのか? を参 ... active language respectively. The bidi attribute is True only for bi-directional languages. 言語情報のソースは django.conf.locale モジュールです。テンプレートコードでも、この情報に対して同じようにアクセスできます。以下を参照してください。 国際化: テンプ ... です。 packages A list of application names ( AppConfig.name ) among the installed applications. Those apps should contain a locale directory. All those catalogs plus all catalogs found in LOCALE_PATHS (which are always included) are merged into one cata ... ... akemessages が作成した .po ファイルを .mo ファイルにコンパイルします。詳しくは 国際化とローカライズ を参照してください。 --locale LOCALE , -l LOCALE 処理する locale を指定します。提供されなかった場合、すべてのロケールが処理されます。 --exclude EXCLUDE ... , -x EXCLUDE 処理から除外する locale を指定します。提供されなかった場合、どのロケールも除外されません。 --use-fuzzy , -f fuzzy な翻訳 をコンパイルされたファイル ... に含めます 使用例: django-admin compilemessages --locale=pt_BR django-admin compilemessages --locale=pt_BR --locale=fr -f django-admin compilemessages -l pt_BR django-admin compil ... ... cedence than the ones listed later. Now it is possible to override the translations shipped with applications by using the LOCALE_PATHS setting whose translations have now higher precedence than the translations of INSTALLED_APPS applications. The rela ... ed in this setting has also been modified so the paths listed first have higher precedence than the ones listed later. The locale subdirectory of the directory containing the settings, that usually coincides with and is known as the project directory i ... n this release as a source of translations. (the precedence of these translations is intermediate between applications and LOCALE_PATHS translations). See the corresponding deprecated features section of this document. For translatable literals found i ... ... n class Migration ( migrations . Migration ): ... operations = [ CreateCollation ( "case_insensitive" , provider = "icu" , locale = "und-u-ks-level2" , deterministic = False , ), ... , ] class CreateCollation ( name , locale , * , provider = 'libc' , d ... eterministic = True ) [ソース] 与えられた name 、 locale 、および provider で照合順序を作成します。 大文字小文字を区別しないフィルタリングなど、非決定的な照合順序を作成するには、 ... deterministic パラメータを False に設定します。 class RemoveCollation ( name , locale , * , provider = 'libc' , deterministic = True ) [ソース] name という照合順序を削除します。 逆順にすると、指定された local ... ... d (#21410). Fixed Queryset.datetimes raising AttributeError in some situations (#21432). Fixed ModelBackend raising UnboundLocalError if get_user_model() raised an error (#21439). Fixed a regression that prevented editable GenericRelation subclasses fr ... querysets for foreign keys were overwritten if ModelAdmin had ordering set (#21405). Removed mention of a feature in the --locale / -l option of the makemessages and compilemessages commands that never worked as promised: Support of multiple locale nam ... es separated by commas. It's still possible to specify multiple locales in one run by using the option multiple times (#21488, #17181). Fixed a regression that unnecessarily triggered settings ... ... potential denial of service attack via the locale parameter. ... ... ential denial of service attack via the locale parameter. ... ... ow use a 64-bit BigIntegerField type. Improved localization Django's internationalization framework has been expanded with locale-aware formatting and form processing. That means, if enabled, dates and numbers on templates will be displayed using the f ... ormat specified for the current locale. Django will also use localized formats when parsing data in forms. See 表示形式のローカライズ for more details. readonly_ ... tial_date_formats() have been deprecated in favor of the appropriate calls to django.utils.formats.get_format() , which is locale-aware when USE_L10N is set to True , and falls back to default settings if set to False . To get the different date format ... ... 2 ( #24318 ). It was advertised as a new feature in Django 1.6 but it didn't work in practice. Formats for the Azerbaijani locale ( az ) have been added. ... ... めには、文字列フリーズの期間 (リリース候補とフィーチャーリリースの間の期間) を逃さないようにしてください! フォーマット conf/locale/<locale>/formats.py ファイルもレビューできます。このファイルは日付、時刻、数値に関するロケール特有のフォーマットについて記 ... 2026年10月08日