diff --git a/src/nginxconfig/i18n/de/languages.js b/src/nginxconfig/i18n/de/languages.js
index 371f35f..737b1de 100644
--- a/src/nginxconfig/i18n/de/languages.js
+++ b/src/nginxconfig/i18n/de/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Russisch',
pl: 'Polnisch',
de: 'Deutsch',
+ ja: 'Japans',
};
diff --git a/src/nginxconfig/i18n/en/languages.js b/src/nginxconfig/i18n/en/languages.js
index eb3b7f1..edaf09e 100644
--- a/src/nginxconfig/i18n/en/languages.js
+++ b/src/nginxconfig/i18n/en/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Russian',
pl: 'Polish',
de: 'German',
+ ja: 'Japans',
};
diff --git a/src/nginxconfig/i18n/es/languages.js b/src/nginxconfig/i18n/es/languages.js
index 44490eb..c3abe71 100644
--- a/src/nginxconfig/i18n/es/languages.js
+++ b/src/nginxconfig/i18n/es/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Ruso',
pl: 'Polaco',
de: 'Alemán',
+ ja: 'Japonés',
};
diff --git a/src/nginxconfig/i18n/fr/languages.js b/src/nginxconfig/i18n/fr/languages.js
index ded825f..306be63 100644
--- a/src/nginxconfig/i18n/fr/languages.js
+++ b/src/nginxconfig/i18n/fr/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Russe',
pl: 'Polonais',
de: 'Allemand',
+ ja: 'Japonais',
};
diff --git a/src/nginxconfig/i18n/ja/common.js b/src/nginxconfig/i18n/ja/common.js
new file mode 100644
index 0000000..e0cecc8
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/common.js
@@ -0,0 +1,48 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ back: '戻る',
+ next: '次へ',
+ enable: '有効にする',
+ php: 'PHP',
+ ssl: 'SSL',
+ nginx: 'NGINX',
+ http: 'HTTP',
+ https: 'HTTPS',
+ letsEncrypt: 'Let\'s Encrypt',
+ python: 'Python',
+ wordPress: 'WordPress',
+ drupal: 'Drupal',
+ magento: 'Magento',
+ joomla: 'Joomla',
+ django: 'Django',
+ logging: 'ログ',
+ reverseProxy: 'リバースプロキシ',
+ reverseProxyLower: 'リバースプロキシ',
+ restrict: '制限',
+ path: 'パス',
+};
diff --git a/src/nginxconfig/i18n/ja/index.js b/src/nginxconfig/i18n/ja/index.js
new file mode 100644
index 0000000..01c3f3e
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/index.js
@@ -0,0 +1,31 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from './common';
+import languages from './languages';
+import templates from './templates';
+
+export default { common, languages, templates };
diff --git a/src/nginxconfig/i18n/ja/languages.js b/src/nginxconfig/i18n/ja/languages.js
new file mode 100644
index 0000000..7dd2adc
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/languages.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ en: 'English',
+ es: 'Spanish',
+ zhCN: 'Chinese (simplified)',
+ zhTW: 'Chinese (traditional)',
+ ptBR: 'Portuguese (brazilian)',
+ fr: 'French',
+ ru: 'Russian',
+ pl: 'Polish',
+ de: 'German',
+ ja: '日本語',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/app.js b/src/nginxconfig/i18n/ja/templates/app.js
new file mode 100644
index 0000000..4631bb2
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/app.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../common';
+
+export default {
+ title: `${common.nginx}設定`,
+ description: `パフォーマンス、安全性、安定性に優れた ${common.nginx} サーバーを簡単に構成できます。`,
+ singleColumnMode: 'シングルカラムモード',
+ splitColumnMode: '並列表示モード',
+ perWebsiteConfig: 'Webサイトごとの設定',
+ addSite: 'サイトを追加する',
+ globalConfig: 'グローバル設定',
+ setup: 'セットアップ',
+ configFiles: '設定ファイル',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/callouts/contribute.js b/src/nginxconfig/i18n/ja/templates/callouts/contribute.js
new file mode 100644
index 0000000..c40c906
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/callouts/contribute.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ wantToContributeChanges: '👋 新機能や変更の提案や実装、翻訳をしてみませんか?',
+ getInvolvedOnGitHub: 'Get involved on GitHub',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/callouts/droplet.js b/src/nginxconfig/i18n/ja/templates/callouts/droplet.js
new file mode 100644
index 0000000..2c62902
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/callouts/droplet.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ lookingForAPlaceToDeploy: '👋 この新しい設定のデプロイ先をお探しですか?',
+ tryOutDigitalOceansDroplet: 'DigitalOceanの NGINXを使ったLEMP Droplet を試してみましょう',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/callouts/index.js b/src/nginxconfig/i18n/ja/templates/callouts/index.js
new file mode 100644
index 0000000..dd68947
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/callouts/index.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import droplet from './droplet';
+import contribute from './contribute';
+
+export default { droplet, contribute };
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/https.js b/src/nginxconfig/i18n/ja/templates/domain_sections/https.js
new file mode 100644
index 0000000..4c6434a
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/https.js
@@ -0,0 +1,48 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableEncryptedSslConnection: `暗号化された ${common.ssl} 接続を${common.enable}`,
+ http2: `${common.http}/2`,
+ enableHttp2Connections: `${common.http}/2 接続を${common.enable}`,
+ http3: `${common.http}/3`,
+ enableHttp3Connections: `${common.http}/3 接続を${common.enable}`,
+ forceHttps: `${common.https}を強制する`,
+ hsts: 'HSTS',
+ enableStrictTransportSecurity: `Strict Transport Security を${common.enable}, HTTPS接続が必要`,
+ enableIncludeSubDomains: `includeSubDomains ディレクティブを${common.enable}, 全てのサブドメインでHTTPS接続が必要`,
+ enablePreload: `プリロードディレクティブを${common.enable}, HTTPS接続のみを常に行うようブラウザに指示します`,
+ certificationType: '証明書',
+ customCertificate: 'カスタム証明書',
+ letsEncryptEmail: `${common.letsEncrypt} Eメールアドレス`,
+ http3IsANonStandardModule: 'HTTP/3 は NGINX の標準モジュールではありません, くわしくは ',
+ http3NginxQuicReadme: 'NGINX QUIC readme',
+ http3OrThe: ' もしくは ',
+ http3CloudflareQuicheProject: 'Cloudflare quicheプロジェクト',
+ http3ForBuildingNginxWithHttp3: ' のHTTP/3を使ったNGINXの構築方法を確認してください!',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/index.js b/src/nginxconfig/i18n/ja/templates/domain_sections/index.js
new file mode 100644
index 0000000..5b2b817
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/index.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import https from './https';
+import logging from './logging';
+import php from './php';
+import presets from './presets';
+import python from './python';
+import reverseProxy from './reverse_proxy';
+import routing from './routing';
+import server from './server';
+import restrict from './restrict';
+import onion from './onion';
+
+export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion };
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js b/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js
new file mode 100644
index 0000000..88b81e1
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/logging.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ byDomain: '(ドメインごと)',
+ enableForThisDomain: `このドメインで${common.enable}`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/onion.js b/src/nginxconfig/i18n/ja/templates/domain_sections/onion.js
new file mode 100644
index 0000000..e5f3cd9
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/onion.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+const onion = 'Onion';
+
+export default {
+ onion,
+ onionLocation: `${onion} location`,
+ provideAnOnionLocationToSetOnionLocationHeader: 'サイトのOnion-Locationヘッダを設定するために、Onion locationアドレスを提供する。',
+ letsVisitorsKnownOnionServicesIsAvailable: 'これにより、あなたのサイトのオニオンサービス版がTorブラウザで利用可能であることをサイト訪問者に知らせます。',
+ learnMoreAboutOnionServices: 'Onion サービスについて詳しくはこちら',
+ onionLocationExpectedToEndWithOnion: 'Onion location アドレスは通常 `.onion` で終わります。',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/php.js b/src/nginxconfig/i18n/ja/templates/domain_sections/php.js
new file mode 100644
index 0000000..cae645e
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/php.js
@@ -0,0 +1,57 @@
+/*
+Copyright 2022 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ phpIsDisabled: `${common.php} は無効です。`,
+ phpCannotBeEnabledWithReverseProxy: `リバースプロキシが有効な場合は、${common.php} を有効にすることはできません。`,
+ phpCannotBeEnabledWithPython: `${common.python} が有効な場合は、 ${common.php} を有効にすることはできません。`,
+ enablePhp: `${common.php} を${common.enable}`,
+ wordPressRules: `${common.wordPress} ルール`,
+ enableWordPressRules: `${common.wordPress} 用ルールを${common.enable}`,
+ drupalRules: `${common.drupal} ルール`,
+ enableDrupalRules: `${common.drupal} 用ルールを${common.enable}`,
+ magentoRules: `${common.magento} ルール`,
+ enableMagentoRules: `${common.magento} 用ルールを${common.enable}`,
+ joomlaRules: `${common.joomla} ルール`,
+ enableJoomlaRules: `${common.joomla} 用ルールを${common.enable}`,
+ phpServer: `${common.php} サーバ`,
+ phpBackupServer: `${common.php} バックアップサーバ`,
+ tcp: 'TCP',
+ hhvmSocket: 'HHVM socket',
+ php5Socket: '5.x socket',
+ php70Socket: '7.0 socket',
+ php71Socket: '7.1 socket',
+ php72Socket: '7.2 socket',
+ php73Socket: '7.3 socket',
+ php74Socket: '7.4 socket',
+ php80Socket: '8.0 socket',
+ php81Socket: '8.1 socket',
+ phpSocket: 'PHP socket',
+ custom: 'カスタム',
+ disabled: '無効',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/presets.js b/src/nginxconfig/i18n/ja/templates/domain_sections/presets.js
new file mode 100644
index 0000000..c7f1b70
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/presets.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ presets: 'プリセット',
+ itLooksLikeYouCustomisedTheConfig: 'このドメインの設定をカスタマイズしているようです。新しいプリセットを選択すると、カスタマイズした設定の一部がリセットまたは変更される場合があります。',
+ frontend: 'フロントエンド',
+ nodeJs: 'Node.js',
+ singlePageApplication: 'シングルページアプリケーション(SPA)',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/python.js b/src/nginxconfig/i18n/ja/templates/domain_sections/python.js
new file mode 100644
index 0000000..4714589
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/python.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonIsDisabled: `${common.python} は無効です。`,
+ pythonCannotBeEnabledWithReverseProxy: `リバースプロキシが有効な場合は、${common.python} を有効にすることはできません。`,
+ pythonCannotBeEnabledWithPhp: `${common.php} が有効な場合は、 ${common.python} を有効にすることはできません。`,
+ enablePython: `${common.python}を${common.enable}`,
+ djangoRules: `${common.django} ルール`,
+ enableDjangoRules: `${common.django} 用ルールを${common.enable}`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/ja/templates/domain_sections/restrict.js
new file mode 100644
index 0000000..2f2e038
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/restrict.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ disableForThisDomain: 'このドメインで無効にする',
+ responseCode: 'レスポンスコード',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js
new file mode 100644
index 0000000..a5256fa
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/reverse_proxy.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ reverseProxyIsDisabled: `${common.reverseProxy} は無効です。`,
+ reverseProxyCannotBeEnabledWithPhp: `${common.php} が有効な場合は、 ${common.reverseProxy} を有効にすることはできません。`,
+ reverseProxyCannotBeEnabledWithPython: `${common.python} が有効な場合は、 ${common.reverseProxy} を有効にすることはできません。`,
+ enableReverseProxy: `${common.reverseProxyLower}を${common.enable}`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js b/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js
new file mode 100644
index 0000000..083f0b0
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/routing.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ fallbackRouting: 'フォールバックルーティング',
+ fallbackRoutingPhpPath: `フォールバックルーティング ${common.php} パス`,
+ legacyPhpRouting: `レガシーな ${common.php} ルーティング`,
+ enableLegacyRouting: `レガシーなルーティングを${common.enable}`,
+ routing: 'ルーティング',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/domain_sections/server.js b/src/nginxconfig/i18n/ja/templates/domain_sections/server.js
new file mode 100644
index 0000000..01dd36b
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/domain_sections/server.js
@@ -0,0 +1,37 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ domain: 'ドメイン',
+ documentRoot: 'ドキュメントルート',
+ oneOrMoreOtherDomainsAreAlsoNamed: 'このドメインは別の設定で利用されています',
+ thisWillCauseIssuesWithConfigGeneration: 'これは、設定ファイル生成で問題を引き起こします。',
+ wwwSubdomain: 'www サブドメイン',
+ cdnSubdomain: 'CDN サブドメイン',
+ redirectSubdomains: 'リダイレクトサブドメイン',
+ server: 'サーバ',
+ listen: 'リッスン',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/footer.js b/src/nginxconfig/i18n/ja/templates/footer.js
new file mode 100644
index 0000000..7def7d2
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/footer.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ backToTop: 'TOPへ戻る',
+ thisToolIs: 'このツールは',
+ openSourceOnGitHub: 'オープンソースとしてGitHub上に',
+ underThe: '',
+ mit: 'MIT',
+ license: 'ライセンスで公開されています。',
+ weWelcomeFeedbackAndContributions: 'リードバックやコントリビュートは大歓迎です。',
+ originallyCreatedBy: 'オリジナル開発者: ',
+ balintSzekeres: 'Bálint Szekeres',
+ maintainedBy: 'メンテナンス: ',
+ digitalOcean: 'DigitalOcean',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/docker.js b/src/nginxconfig/i18n/ja/templates/global_sections/docker.js
new file mode 100644
index 0000000..b7f0ca0
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/docker.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const docker = 'Docker';
+const dockerfile = 'Dockerfile';
+
+export default {
+ docker,
+ dockerfile,
+ dockerCompose: `${docker} Compose`,
+ applyDockerTweaks: `${docker} の調整を適用する`,
+ applyDockerTweaksForNginx: `${common.nginx} を ${docker} 上で動作させるため、設定の微調整を適用します。`,
+ applyDockerTweaksExplainer: `${common.nginx} ユーザを nginx
に、 pid を /var/run/nginx.pid
に変更してください。`,
+ includeDockerfile: `${common.nginx} を ${docker} 上で動作させるための ${dockerfile} を含む`,
+ includeDockerCompose: `${common.nginx} with docker-compose で動作させるための docker-compose.yaml を含む`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/https.js b/src/nginxconfig/i18n/ja/templates/global_sections/https.js
new file mode 100644
index 0000000..f30bd1e
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/https.js
@@ -0,0 +1,52 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const mozilla = 'Mozilla';
+const ipv4 = 'IPv4';
+const ipv6 = 'IPv6';
+
+export default {
+ sslProfile: `${common.ssl} プロファイル`,
+ httpsMustBeEnabledOnOneSite: `グローバルな ${common.https} の設定を行うには、少なくとも1つのサイトで ${common.https} が有効になっている必要があります。`,
+ portReuse: 'Reuseport',
+ enableReuseOfPort: `ワーカーごとにリスニングソケットを生成するために reuseport を${common.enable}`,
+ ocspDnsResolvers: 'OCSP DNS Resolvers',
+ cloudflareResolver: 'Cloudflare Resolver',
+ googlePublicDns: 'Google Public DNS',
+ openDns: 'OpenDNS',
+ quad9: 'Quad9',
+ verisign: 'Verisign',
+ letsEncryptWebroot: `${common.letsEncrypt} webrootディレクトリ`,
+ letsEncryptCertRoot: `${common.letsEncrypt} 証明書ディレクトリ`,
+ mozillaModern: `${mozilla} Modern`,
+ mozillaIntermediate: `${mozilla} Intermediate`,
+ mozillaOld: `${mozilla} Old`,
+ ipv4Only: `${ipv4} のみ`,
+ ipv6Only: `${ipv6} のみ`,
+ ipv4AndIpv6: `${ipv4} と ${ipv6}`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/index.js b/src/nginxconfig/i18n/ja/templates/global_sections/index.js
new file mode 100644
index 0000000..35eba1d
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/index.js
@@ -0,0 +1,37 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import https from './https';
+import logging from './logging';
+import nginx from './nginx';
+import performance from './performance';
+import python from './python';
+import reverseProxy from './reverse_proxy';
+import security from './security';
+import tools from './tools';
+import docker from './docker';
+
+export default { https, logging, nginx, performance, python, reverseProxy, security, tools, docker };
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/logging.js b/src/nginxconfig/i18n/ja/templates/global_sections/logging.js
new file mode 100644
index 0000000..4c4ed1f
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/logging.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableFileNotFoundErrorLogging: `FILE NOT FOUND エラーのロギングを${common.enable}`,
+ logformat: 'log_format',
+ enableCloudflare: 'デフォルトのログフォーマットに Cloudflare のリクエストヘッダを追加する',
+ cfRay: 'CF-Ray',
+ cfConnectingIp: 'CF-Connecting-IP',
+ xForwardedFor: 'X-Forwarded-For',
+ xForwardedProto: 'X-Forwarded-Proto',
+ trueClientIp: 'True-Client-IP',
+ cfIpCountry: 'CF-IPCountry',
+ cfVisitor: 'CF-Visitor',
+ cdnLoop: 'CDN-Loop',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js b/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js
new file mode 100644
index 0000000..8c79b43
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/nginx.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ nginxConfigDirectory: `${common.nginx} 設定ディレクトリ`,
+ mb: 'MB',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/performance.js b/src/nginxconfig/i18n/ja/templates/global_sections/performance.js
new file mode 100644
index 0000000..7a6a91f
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/performance.js
@@ -0,0 +1,42 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ gzipCompression: 'Gzip 圧縮',
+ enableGzipCompression: `gzip 圧縮を${common.enable}`,
+ brotliCompression: 'Brotli 圧縮',
+ enableBrotliCompression: `brotli 圧縮を${common.enable}`,
+ brotliIsANonStandardModule: 'Brotli はNGINXの標準モジュールではありません, くわしくは ',
+ brotliGoogleNgxBrotliProject: 'Google ngx_brotli プロジェクト',
+ brotliForBuildingNginxWithBrotli: ' のBrotliを使ったNGINXの構築方法を確認してください!',
+ expirationForAssets: 'アセットの有効期限',
+ expirationForMedia: 'メディアの有効期限',
+ expirationForSvgs: 'SVG の有効期限',
+ expirationForFonts: 'フォントの有効期限',
+ performance: 'パフォーマンス',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/python.js b/src/nginxconfig/i18n/ja/templates/global_sections/python.js
new file mode 100644
index 0000000..63d5d3c
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/python.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonServer: `${common.python} サーバ`,
+ pythonMustBeEnabledOnOneSite: `グローバルな ${common.python} の設定を行うには、少なくとも1つのサイトで ${common.python} が有効になっている必要があります。`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js
new file mode 100644
index 0000000..9bd24c2
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/reverse_proxy.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const legacyXForwarded = 'Legacy X-Forwarded-* headers';
+
+export default {
+ reverseProxyMustBeEnabledOnOneSite: `グローバルな ${common.reverseProxyLower} の設定を行うには、少なくとも1つのサイトで ${common.reverseProxy} が有効になっている必要があります。`,
+ seconds: '秒',
+ passOn: `${legacyXForwarded} が渡されます`,
+ remove: `${legacyXForwarded} は積極的に削除されます`,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/security.js b/src/nginxconfig/i18n/ja/templates/global_sections/security.js
new file mode 100644
index 0000000..43bc9c3
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/security.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `${common.wordPress} を利用している場合、 script-src 'self' 'unsafe-inline' 'unsafe-eval';
は、管理画面を正しく機能させるために、コンテンツセキュリティポリシーで要求されることが多いようです。`,
+ security: 'セキュリティ',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/global_sections/tools.js b/src/nginxconfig/i18n/ja/templates/global_sections/tools.js
new file mode 100644
index 0000000..101f263
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/global_sections/tools.js
@@ -0,0 +1,53 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ modularizedStructure: 'モジュール化された構造',
+ enableModularizedConfigFiles: `モジュール化された設定ファイルを${common.enable}`,
+ symlinkVhost: 'Symlink vhost',
+ enableSymLinksFrom: `シンボリックリンク を${common.enable} from`,
+ to: 'to',
+ shareConfiguration: '設定を共有する',
+ resetConfiguration: '設定をリセットする',
+ resetGlobalConfig: 'グローバル設定をリセットする',
+ resetAllDomains: '全てのドメインをリセットする',
+ removeAllDomains: '全てのドメインを削除する',
+ resetAllDomainsConfig: '全てのドメインの設定をリセットする',
+ resetDomainConfig: 'ドメインの設定をリセットする',
+ removeDomain: 'ドメインを削除する',
+ yesImSure: 'はい、大丈夫です',
+ noCancel: 'いいえ、キャンセルします',
+ tools: 'ツール',
+ resetGlobalConfigBody: 'グローバル設定の全ての設定をリセットします、よろしいですか?',
+ resetAllDomainsConfigBody: '全てのドメインの設定をリセットします、よろしいですか?',
+ removeAllDomainsBody: '全てのドメインを削除します、よろしいですか?',
+ areYouSureYouWantToResetAllConfigurationOptionsForThe: '次のドメインの設定をリセットします、よろしいですか?',
+ domain: '',
+ areYouSureYouWantToRemoveThe: '次のドメインの設定を削除します、よろしいですか?',
+ domainConfiguration: '',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/index.js b/src/nginxconfig/i18n/ja/templates/index.js
new file mode 100644
index 0000000..d946745
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/index.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import app from './app';
+import setup from './setup';
+import footer from './footer';
+import domainSections from './domain_sections';
+import globalSections from './global_sections';
+import setupSections from './setup_sections';
+import callouts from './callouts';
+
+export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };
diff --git a/src/nginxconfig/i18n/ja/templates/setup.js b/src/nginxconfig/i18n/ja/templates/setup.js
new file mode 100644
index 0000000..3a59f2f
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ downloadConfig: '設定をダウンロードする',
+ copyBase64: 'Base64でコピーする',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js
new file mode 100644
index 0000000..109ee40
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup_sections/certbot.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const certbot = 'Certbot';
+
+export default {
+ commentOutSslDirectivesInConfiguration: `設定中の ${common.ssl} 関連ディレクティブをコメントアウトします:`,
+ reloadYourNginxServer: `${common.nginx} サーバをリロードします:`,
+ obtainSslCertificatesFromLetsEncrypt: `${certbot} を利用して、 ${common.ssl} 証明書を ${common.letsEncrypt} から取得します:`,
+ uncommentSslDirectivesInConfiguration: `設定中の ${common.ssl} 関連ディレクティブのコメントアウトを外します:`,
+ configureCertbotToReloadNginxOnCertificateRenewal: `証明書の更新に成功したら ${certbot} が ${common.nginx} をリロードするように設定します:`,
+ certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} は、${common.nginx}の設定に合わせて設定する必要はありません。`,
+ certbot,
+};
diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/download.js b/src/nginxconfig/i18n/ja/templates/setup_sections/download.js
new file mode 100644
index 0000000..a6389df
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup_sections/download.js
@@ -0,0 +1,40 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ downloadTheGeneratedConfig: '生成された設定ファイルをダウンロードします:',
+ andUploadItToYourServers: 'そして、ご利用のサーバの以下のディレクトリに設定ファイルを アップロードします',
+ directory: '。',
+ or: 'もしくは、',
+ copyBase64StringOfCompressedConfig: '設定が圧縮されたbase64文字列をコピーし',
+ pasteItInYourServersCommandLineAndExecute: '、 サーバのコマンドラインにペーストして実行します',
+ navigateToYourNginxConfigurationDirectoryOnYourServer: `サーバの ${common.nginx} の設定ディレクトリへ移動します:`,
+ createABackupOfYourCurrentNginxConfiguration: `現在の ${common.nginx} の設定をバックアップします:`,
+ extractTheNewCompressedConfigurationArchiveUsingTar: 'tar を使って、新しい設定の入った圧縮ファイルを展開します:',
+ download: 'ダウンロード',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js
new file mode 100644
index 0000000..8c50128
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup_sections/go_live.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ letsGoLive: 'Let\'s go live!',
+ reloadNginxToLoadInYourNewConfiguration: `${common.nginx} をリロードして新しい設定を反映します:`,
+ goLive: 'Go live!',
+};
diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/index.js b/src/nginxconfig/i18n/ja/templates/setup_sections/index.js
new file mode 100644
index 0000000..378a5cf
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup_sections/index.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import certbot from './certbot';
+import download from './download';
+import goLive from './go_live';
+import ssl from './ssl';
+
+export default { certbot, download, goLive, ssl };
diff --git a/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js
new file mode 100644
index 0000000..394361f
--- /dev/null
+++ b/src/nginxconfig/i18n/ja/templates/setup_sections/ssl.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2020 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'サーバでこのコマンドを実行して Diffie-Hellman keys を生成します:',
+ createACommonAcmeChallengeDirectoryForLetsEncrypt: `共通の ACME-challenge ディレクトリを作成します (${common.letsEncrypt} の場合):`,
+ noAdditionalStepsAreNeededToSetUpSslForNginx: `${common.ssl} を ${common.nginx} の構成に設定するための追加の手順は必要ありません。`,
+ sslInit: `${common.ssl} 初期設定`,
+};
diff --git a/src/nginxconfig/i18n/pl/languages.js b/src/nginxconfig/i18n/pl/languages.js
index e200812..bc21ff1 100644
--- a/src/nginxconfig/i18n/pl/languages.js
+++ b/src/nginxconfig/i18n/pl/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Rosyjski',
pl: 'Polski',
de: 'Niemiecki',
+ ja: 'Japonês',
};
diff --git a/src/nginxconfig/i18n/pt-br/languages.js b/src/nginxconfig/i18n/pt-br/languages.js
index f06d3be..b069af6 100644
--- a/src/nginxconfig/i18n/pt-br/languages.js
+++ b/src/nginxconfig/i18n/pt-br/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Russa',
pl: 'Polonês',
de: 'Alemão',
+ ja: 'Japonês',
};
diff --git a/src/nginxconfig/i18n/ru/languages.js b/src/nginxconfig/i18n/ru/languages.js
index 9528433..8e971ef 100644
--- a/src/nginxconfig/i18n/ru/languages.js
+++ b/src/nginxconfig/i18n/ru/languages.js
@@ -34,4 +34,5 @@ export default {
ru: 'Русский',
pl: 'Польский',
de: 'Немецкий',
+ ja: 'Японский',
};
diff --git a/src/nginxconfig/i18n/zh-cn/languages.js b/src/nginxconfig/i18n/zh-cn/languages.js
index 2a90c33..8ce4296 100644
--- a/src/nginxconfig/i18n/zh-cn/languages.js
+++ b/src/nginxconfig/i18n/zh-cn/languages.js
@@ -34,4 +34,5 @@ export default {
ru: '俄语',
pl: '波兰语',
de: '德语',
+ ja: '日语',
};
diff --git a/src/nginxconfig/i18n/zh-tw/languages.js b/src/nginxconfig/i18n/zh-tw/languages.js
index eab92af..a7f53a7 100644
--- a/src/nginxconfig/i18n/zh-tw/languages.js
+++ b/src/nginxconfig/i18n/zh-tw/languages.js
@@ -34,4 +34,5 @@ export default {
ru: '俄語',
pl: '波蘭語',
de: '德語',
+ ja: '日語',
};
diff --git a/src/nginxconfig/util/language_packs.js b/src/nginxconfig/util/language_packs.js
index 98ee8c7..41ff37c 100644
--- a/src/nginxconfig/util/language_packs.js
+++ b/src/nginxconfig/util/language_packs.js
@@ -43,6 +43,7 @@ export const availablePacks = Object.freeze([
'en',
'es',
'fr',
+ 'ja',
'pl',
'ptBR',
'ru',