{"title":"Django のローカライズ","version":"4.2","locale":"ja","docname":"internals/contributing/localizing","url":"/ja/4.2/internals/contributing/localizing/","canonical":"https://djangodocs.dev/ja/4.2/internals/contributing/localizing/","summary":"管理者サイトや検証のエラーメッセージなど、Django の各種パーツは国際化されています。","html":"<h1>Django のローカライズ<a class=\"heading-anchor\" href=\"#localizing-django\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>管理者サイトや検証のエラーメッセージなど、Django の各種パーツは国際化されています。つまり、これらのメッセージはユーザーの言語や国によって異なるように表示することができるようになっています。そのため、Django では、Django アプリケーションに共通の国際化・ローカライズのインフラを使用しています。詳しくは <a class=\"reference internal\" href=\"/ja/4.2/topics/i18n/\"><span class=\"doc\">i18n documentation</span></a> で説明されています。</p>\n<section id=\"translations\">\n<h2>翻訳<a class=\"heading-anchor\" href=\"#translations\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>翻訳文字列は、世界中の Django ユーザーにより提供されています。翻訳作業は <a class=\"reference external\" href=\"https://www.transifex.com/\">Transifex</a> で協力して行われています。</p>\n<p>不正確な翻訳や特定の翻訳について議論したいときは、<a class=\"reference external\" href=\"https://app.transifex.com/django/django/\">Django プロジェクトのページ</a> に行ってください。翻訳を助けたりまだ未翻訳の言語を追加したい場合は、以下のことを行ってください。</p>\n<ul>\n<li><p><a class=\"reference external\" href=\"https://forum.djangoproject.com/c/internals/i18n/14\">Django 国際化フォーラム</a> で自己紹介する。</p></li>\n<li><p><a class=\"reference internal\" href=\"/ja/4.2/topics/i18n/translation/#specialties-of-django-i18n\"><span class=\"std std-ref\">Specialties of Django translation</span></a> に関するノートを読んで確認する。</p></li>\n<li><p><a class=\"reference external\" href=\"https://www.transifex.com/\">Transifex</a> にサインアップし、<a class=\"reference external\" href=\"https://app.transifex.com/django/django/\">Django project page</a> を訪問する。</p></li>\n<li><p>On the <a class=\"reference external\" href=\"https://app.transifex.com/django/django/\">Django project page</a>, choose the language you want to work on,\n<strong>or</strong> -- in case the language doesn't exist yet --\nrequest a new language team by clicking on the &quot;Request language&quot; link\nand selecting the appropriate language.</p></li>\n<li><p>Then, click the &quot;Join this Team&quot; button to become a member of this team.\nEvery team has at least one coordinator who is responsible to review\nyour membership request. You can also contact the team coordinator to clarify\nprocedural problems and handle the actual translation process.</p></li>\n<li><p>Once you are a member of a team choose the translation resource you\nwant to update on the team page. For example, the &quot;core&quot; resource refers\nto the translation catalog that contains all non-contrib translations.\nEach of the contrib apps also has a resource (prefixed with &quot;contrib&quot;).</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">注釈</p>\n<p>Transifex の使い方に関する詳しい情報については、 <a class=\"reference external\" href=\"https://help.transifex.com/\">Transifex User Guide</a> を読んでください。</p>\n</aside>\n</li>\n</ul>\n<p>Transifex からの翻訳が Django リポジトリに取り入れられるのは、新しい <a class=\"reference internal\" href=\"/ja/4.2/internals/release-process/#term-Feature-release\"><span class=\"xref std std-term\">フィーチャーリリース</span></a> のタイミングのみです。将来の <a class=\"reference internal\" href=\"/ja/4.2/internals/release-process/#term-Patch-release\"><span class=\"xref std std-term\">パッチリリース</span></a> の1つで2回目に更新を試みますが、これは翻訳マネージャーが作業可能かどうかによります。そのため、あなたの言語の翻訳を完了・修正するためには、文字列フリーズの期間 (リリース候補とフィーチャーリリースの間の期間) を逃さないようにしてください！</p>\n</section>\n<section id=\"formats\">\n<h2>フォーマット<a class=\"heading-anchor\" href=\"#formats\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><code class=\"docutils literal notranslate\">conf/locale/&lt;locale&gt;/formats.py</code> ファイルもレビューできます。このファイルは日付、時刻、数値に関するロケール特有のフォーマットについて記述しています。詳細については <a class=\"reference internal\" href=\"/ja/4.2/topics/i18n/formatting/\"><span class=\"doc\">表示形式のローカル化</span></a> を参照してください。</p>\n<p>フォーマットファイルは Transifex の使用によって管理されていません。変更するには、すべてのコード変更と同様に、以下の方法で Django のソースツリーに対して <a class=\"reference internal\" href=\"/ja/4.2/internals/contributing/writing-code/submitting-patches/\"><span class=\"doc\">パッチを作成する</span></a> 必要があります。</p>\n<ul class=\"simple\">\n<li><p>現在の Git の main ブランチに対して diff を作成する。</p></li>\n<li><p>Django のチケットシステムでチケットを開き、<code class=\"docutils literal notranslate\">Component</code> フィールドを <code class=\"docutils literal notranslate\">Translations</code> に設定し、patch を添付する。</p></li>\n</ul>\n</section>\n<section id=\"documentation\">\n<span id=\"translating-documentation\"></span><h2>ドキュメント<a class=\"heading-anchor\" href=\"#documentation\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>There is also an opportunity to translate the documentation, though this is a\nhuge undertaking to complete entirely (you have been warned!). We use the same\n<a class=\"reference external\" href=\"https://app.transifex.com/django/django-docs/\">Transifex tool</a>. The\ntranslations will appear at <code class=\"docutils literal notranslate\">https://docs.djangoproject.com/&lt;language_code&gt;/</code>\nwhen at least the <code class=\"docutils literal notranslate\">docs/intro/*</code> files are fully translated in your language.</p>\n<p>Once translations are published, updated versions from Transifex will be\nirregularly ported to the <a class=\"reference external\" href=\"https://github.com/django/django-docs-translations\">django/django-docs-translations</a> repository and to the\ndocumentation website. Only translations for the latest stable Django release\nare updated.</p>\n</section>","rootId":"localizing-django","toc":[{"title":"翻訳","anchor":"translations","children":[]},{"title":"フォーマット","anchor":"formats","children":[]},{"title":"ドキュメント","anchor":"documentation","children":[]}],"breadcrumbs":[{"docname":"internals/index","title":"Django internals","url":"/ja/4.2/internals/"},{"docname":"internals/contributing/index","title":"Django へのコントリビュート","url":"/ja/4.2/internals/contributing/"}],"prev":{"docname":"internals/contributing/writing-documentation","title":"Writing documentation","url":"/ja/4.2/internals/contributing/writing-documentation/"},"next":{"docname":"internals/contributing/committing-code","title":"コードのコミット","url":"/ja/4.2/internals/contributing/committing-code/"},"formats":{"html":"/ja/4.2/internals/contributing/localizing/","markdown":"/ja/4.2/internals/contributing/localizing.md","json":"/ja/4.2/internals/contributing/localizing.json"},"source":"https://github.com/django/django/blob/stable/4.2.x/docs/internals/contributing/localizing.txt","official":"https://docs.djangoproject.com/ja/4.2/internals/contributing/localizing/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9"],"inLocales":["en","zh-hans","fr","ja","id","it","pt-br","ko","es","el","pl"]}