Skip to content

Commit

Permalink
Updated the Japanese language file and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Jan 25, 2020
1 parent 07a5929 commit 4147683
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions public_html/admin/install/language/japanese_utf-8.php
Expand Up @@ -169,10 +169,10 @@
114 => '自動インストールに対応しているプラグインだけをインストールします(コアプラグインは対応しています)。対応していないプラグインは管理画面の「プラグイン」からインストールできます。',
115 => 'アップグレード',
116 => '「アップグレード」ボタンをクリックすると、Geeklogを最新バージョンにアップグレードします。このとき必要ならコアプラグインもアップグレードします。',
117 => 'Cancel',
117 => 'キャンセル',
118 => '言語を選択する',
119 => 'Copyright © 2020 <a href="https://www.geeklog.net/">Geeklog</a>',
120 => '(データベースが照合順序がUTF-8をサポートしていることを確認してください。<a href="help.php#charactersets">詳しくはこちら</a>をご覧ください。)',
120 => '(データベースがUTF-8の照合順序をサポートしていることを確認してください。<a href="help.php#charactersets">詳しくはこちら</a>をご覧ください。)',
121 => 'ホーム',
122 => 'ヘルプ',
123 => '文字セットとデータベースの照合順序'
Expand Down Expand Up @@ -372,11 +372,11 @@
// help.php

$LANG_HELP = array(
0 => 'Geeklog Installation Help',
'description' => '<p>This help page explains what each field means that you may be asked to input for new Geeklog installs and mirgating your Geeklog site to a new domain.</p><p>If you run into problems with installing, upgrading, or migrating your Geeklog site, please review the <a href="/docs/japanese/install.html">Geeklog Installation Docs</a>. For any addtional questions or problems you may have, please visit the <a href="https://www.geeklog.net/forum/index.php?forum=1">Geeklog Install Support Forum</a> to read up on similar issues and post your own topic.</p>',
0 => 'Geeklogインストールヘルプ',
'description' => '<p>このヘルプページでは、Geeklogの新規インストールとマイグレーション(サイト移行)の際に入力を要求される各項目の意味を説明します。</p><p>インストール・アップグレード・マイグレーションで問題が生じた場合は、<a href="/docs/japanese/install.html">Geeklogインストール用ドキュメント</a>をご覧ください。他の疑問や問題点については、<a href="https://www.geeklog.net/forum/index.php?forum=1">Geeklog Install Support Forum(英語)</a>で同様の問題について調べたり、投稿してください。</p>',
'site_name' => 'サイト名を入力します。後から変更することもできます。',
'site_slogan' => 'サイトのスローガンを入力します。後から変更することもできます。',
'db_type' => 'Geeklog can be installed using either a MySQL or PostgreSQL database. If you are not sure which option to select contact your hosting provider.<br><br><strong>Note</strong> InnoDB Tables may improve performance on (very) large sites, but they also make database backups more complicated.',
'db_type' => 'Geeklogは、MySQLかPostgreSQLをデータベースとして使用してインスト-ルすることができます。どちらを選ぶべきかよくわからなければ、ホスティング会社に連絡してください。<br><br><strong>注意</strong> InnoDBテーブルは(非常に)大規模なサイトではパフォーマンスが向上しますが、バックアップを取るのが複雑になります。',
'db_host' => 'ホスト名を入力します。',
'db_name' => 'データベース名を入力します。',
'db_user' => 'データベースのユーザ名(アカウント)を入力します。',
Expand Down
6 changes: 3 additions & 3 deletions public_html/docs/japanese/install.html
Expand Up @@ -89,11 +89,11 @@ <h3><a name="preinstall">必要なソフトウェア</a></h3>
</tbody>
</table>

<p>For multi language sites you generally want to use the database collation utf8_general_ci for MySQL or en_US.UTF-8 for PostgreSQL. These collations will be able to handle the character sets of different languages. If you set your database collations to one of these, your character sets will be updated automatically during the install.</p>
<p>多言語サイトを構築するには、データベースの文字セット/照合順序として MySQL の場合は utf8mb4_general_ci/utf8_general_ci、PostgreSQL の場合は ja_JP.UTF-8 を使用する必要があります。これらの文字セット/照合順序は複数の言語を扱うことができます。データベースの文字セット/照合順序をこれらの値に設定すると、インストール中に文字セットが自動で更新されます。</p>

<p>During the install process you can indicate whether to use UTF-8 as the default character set for your site independent of the language you are using. This will set the database character set to UTF-8. If you have <strong>checked</strong> this setting, make sure your database collation is compatible with the character set (usually for MySQL this is either <strong>utf8_general_ci</strong> or, if you wish to support emojis <strong>utf8mb4_general_ci</strong>). <em>Checking this will not change the collation of your database, this must be done manually before you proceed with the install.</em> If you leave 'Use UTF-8' unchecked your installs default language selection character set will be used.</p>
<p>インストールの過程で、自分が今使用している言語とは無関係に、サイトの言語の文字セットとして UTF-8 を使用するかどうかを指定することができます。使用するように指定すると、データベースの文字セットを UTF-8 に設定します。この設定に<strong>チェックを入れている</strong>場合は、データベースの文字セット/照合順序が UTF-8 と互換性が保たれていることを確認してください(MySQLの場合、普通は <strong>utf8_general_ci</strong> か、絵文字をサポートしたい場合は <strong>utf8mb4_general_ci</strong> です)。<em>この設定にチェックを入れても(既存の)データベースの文字セット/照合順序が変わるわけではありません。インストールを進める前に、手動で変更する必要があります。</em>「UTF-8を使用する」のチェックを外すと、選択した言語の既定値の文字セットを使用します(訳注: 日本語・中国語・ヘブライ語の場合は UTF-8、英語は ISO-8859-1、ドイツ語は ISO-8859-15、ポーランド語は ISO-8859-2 です)。</p>

<p>Geeklog supports other languages that are not listed in the install. The easiest way to support these languages is to use a UTF-8 database collation and then once the install is complete go into the Geeklog Configuration and change the language to the one you want. If you rather use the database collation specific for your language you will either have to pick an install language that uses the same character set, or after the install, manually update the settings in siteconfig.php and dbconfig.php files to use the correct character sets. You will then have to update your collation for the Geeklog database, tables and columns. To find out what character set the other languages use, you will need to check that actual language file located in the Geeklog languages directory.</p>
<p>Geeklogはインストール時に使用できない言語でも運用時にはサポートしています。これらの言語をサポートする最も簡単な方法は、データベースの文字セット/照合順序で UTF-8 を使用することです。いったんインストールが終了すれば、コンフィギュレーションで自分が使用したい言語を選択すれば良いのです。自分が使用している言語に特有の文字セット/照合順序をデータベースで使用するなら、同じ文字セットを使用している言語をインストール時に選ぶか、インストール後に手動で siteconfig.php dbconfig.php の設定を正しいものに変更する必要があります。その場合には、データベース、テーブル、列の文字セット/照合順序を更新する必要があります。他の言語がどんな文字セットを使用しているか知るには、Geeklogの language ディレクトリ内にある言語ファイルを確認する必要があります。</p>

<p><strong>PostgreSQLユーザーのための注意:</strong> 現在、GeeklogではPostgresオプション <span class="tt">standard_conforming_strings</span><span class="tt">off</span> に設定する必要があります(PostgreSQL 9.1以降はデフォルトで <span class="tt">on</span> になっています)。</p>

Expand Down

0 comments on commit 4147683

Please sign in to comment.