Actions

ローカリゼーション

From LimeSurvey Manual

Revision as of 02:51, 23 June 2018 by Bravehorse (talk | contribs) (Created page with "公開アンケート画面と管理インターフェースをローカライズすることで、組み込みのメッセージとテキストを好みの言語で表示す...")

概要

言語固有のローカリゼーションを定義し格納する箇所が2つあります。

1つはインストールディレクトリーにあり、PHPコードへの組み込みメッセージが言語固有のファイルに格納されています。これらは、システム管理者が翻訳してインストールする必要があります。管理インターフェース、いくつかの基本ボタン、およびアンケート参加者が見るビルトインメッセージ用の言語は、この方法によってのみ使用できます。通常、アンケート開発者はこれらの翻訳を編集するためのアクセス権を持たず、選択することしかできません。

言語固有のローカリゼーションのもう一つの方法は、アンケート自体にあります。各々のアンケートの翻訳は、アンケートタイトル、概要、質問グループ、質問、回答、およびラベルセットのテキストから構成されています。これらの翻訳はすべてSQLデータベーステーブルに格納されています。通常、アンケート開発者は、基本言語のほか、すべての翻訳を定義する必要があります。

管理インターフェイスとアンケート参加者のためのビルトインメッセージの言語

公開アンケート画面と管理インターフェースをローカライズすることで、組み込みのメッセージとテキストを好みの言語で表示することができます。たとえば、"yes"と"no"はドイツ語版では"ja"と"nein"と表示されます。LimeSurveyでは組み込みメッセージがすでに約50種類の言語に翻訳されています。これらの言語の翻訳状況を確認するには、次のリンクをクリックしてください。

LimeSurvey - Translations Status

You can create/update your own translation locally by using these instructions:

How to translate LimeSurvey

If you want to update an existing translation, please consider contributing it for future releases (Read: Translations status). If you only update your version, remember to take care of this when you upgrade later.

Note: The template files are not currently localized and thus are language independent. Try to avoid putting text directly into the template files. Instead, put the text in other objects (e.g. questions and/or question groups) that are localized.

So far, we only discussed translating the built-in text of the administration interface that the survey participants and developers see; the part that is independent of any survey. Each survey can have one or more languages associated with it. The language of the survey can be independent of the one used in the interface. So care must be taken to offer the appropriate translations there as well.

Languages for surveys themselves

If more than one language is defined for a survey, when editing that survey (or each question, answer or label set within it), you need to make sure to add all the language translations desired. Otherwise, the default language of the survey will appear if no translation is available. This is available when editing a survey, group, question, answer set or label set.

Note: If you do not have the permission to edit label sets, you will not be able to provide the translation of that label set either. Talk to your survey administrator about either giving you the permission to edit the label set or providing the label set translation in your desired language.