Actions

Label sets/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "{{Alert|title=注意|text='''素早く追加...'''機能を使ってラベルを翻訳するには、同じ行に翻訳を追加し、セミコロンで区切ります。}}")
(Created page with "ラベルを削除するには、'操作'列の下にある赤いゴミ箱のボタン(0.85px)をクリックします。")
Line 133: Line 133:
==ラベルの削除==
==ラベルの削除==


In order to delete a label, click on the red trash button ([[File:Delete label.png|0.85px]]) located under the 'Action' column.
ラベルを削除するには、'操作'列の下にある赤いゴミ箱のボタン([[File:Delete label.png|0.85px]])をクリックします。


==ラベルの並べ替え==
==ラベルの並べ替え==

Revision as of 23:24, 9 July 2018

概要

ラベルセットは基本的にリストテンプレートであり、各リストにはラベル付きのコードセットがあり、ほとんどの質問タイプで回答またはサブ質問として使用できます。LimeSurveyのラベルセットは、サブ質問や回答として質問にコピーされるだけであることにご留意ください。したがって、アンケートでラベルセットを使用した後にラベルセットを変更しても、各ラベルセットを使用しているアンケートの質問には反映されません。      この新しいラベルセットを使用することにより、将来の開発に柔軟性が増し、質問の構造がより論理的になります。

  注意 : ラベルセットにはアンケートと同じ基本言語が含まれていなければなりません。そうでない場合は、アンケートの質問には使用できません。


以下のラベルセットの例では、概念をよりよく理解するのに役立ちます。LimeSurveyのラベルセット管理機能に直接移動したい場合は、ここをクリックしてください。

カスタム7点スケールを定義する場合、ラベルセットがこの機能を果たします。下の例では、コード/ラベルのペア(ラベルは実際の質問に表示されます)で設定された非常に単純なカスタムラベルです。

コード ラベル
1 役に立たない
2 2
3 3
4 やや役に立った
5 5
6 6
7 とても役に立った

ラベルテキストの代わりに3つの異なるスマイリーが使用されるグラフィカルな例を以下に示します。



ラベルセットの使い方

ラベルセットを編集、作成、削除、インポート、エクスポートするには、設定メニューのラベルセット管理をクリックします。



ラベルセットの作成、インポート

ページの左上にある新規ラベルセットを作成/インポートボタンをクリックします。新しいラベルセットを最初から作成したり、別のソースからインポートしたりすることもできます。

  • 新しいラベルセット: ラベルセットを手動で作成します。
    • 名前を設定: 新しいラベルセットに付ける名前を設定します。
    • 言語: ラベルセットは言語を指定する必要があります。メニューから言語を選択することができます。
  • ラベルセットをインポート: ラベルセットをインポートするには、ファイルを選択をクリックし、ラベルセットファイル.lslを追加します。以前にラベルセットを作成していた場合は、同じラベルセットが既に存在している場合は、インポートされませんをオフにしない限りインポートできません。LimeSurveyのウェブサイトでは、便利なラベルセットがあります。

ラベルをインポートまたは作成したら、画面の右上にある保存ボタンをクリックします。



アンケート全体をインポートすると、質問とともにラベルセットもインポートされます。重複したラベルセットは無視されます。

ラベルセットの編集、削除、エクスポート

ラベルセットリストのそれぞれのエントリーには、対応するメニューがあり、次の4つのオプションがあります。



  • ラベル表示: ラベルセットのラベルを表示します。
  • ラベルセットの編集: ラベルセットの名前を変更したり、言語の追加/削除を行うことができます。
  • ラベルセット出力: ラベルを.lslファイルにエクスポートします。
  • ラベルセットの削除: ラベルセットを削除するかどうかを確認するためのウィンドウがポップアップ表示されます。

ラベルの使い方

ラベルの追加

ラベルのコード、評価値、題名を入力する必要があります。



次に、プラス記号のアイコンをクリックし、新しいラベルを追加します。ラベルテキストの代わり、またはテキストに加えてグラフィックを使用することも可能です。これには、HTMLコードを使用して、必要なグラフィックを含める必要があります。例は以下のとおりです。

<img border="0" src="http://www.yourdomain.at/pics/pic.gif">
評価に関するウィキも参照してください。すべての値を0に設定すると、列は無視されます。

HTMLコードを簡単に編集するには、ラベルテキストボックスの最後にあるLimeSurveyのHTMLエディターを使用します(緑色のペンボタン0.85pxをクリックします)。



LimeSurveyで使用されるHTMLエディターについては、次のページを確認してください。

素早く追加する

ラベルを素早く追加するには、素早く追加...ボタンを使用する方法もあります。クリックすると、ウィンドウが表示されます。動作させるには、次の書式で記述します。コード ; 題名


0.8px


ラベルを置き換えたり、追加したりできます。入れ替えをクリックすると、既存のラベルがすべて削除され、入力したラベルに置き換えられます。追加をクリックすると、新しいラベルがラベルセットに追加されます(既存のラベルは影響を受けません)。


0.8px


新たなエントリーが作成される場合、コードが自動的に追加されます。したがって、ラベルのタイトルだけを入力し、自動的にコードが割り当てることができます。


0.8px


0.8px


評価値は、ここから入力/編集することはできません。ラベルのリストから手動で変更する必要があります。

  注意 : 素早く追加...機能を使ってラベルを翻訳するには、同じ行に翻訳を追加し、セミコロンで区切ります。


ラベルの削除

ラベルを削除するには、'操作'列の下にある赤いゴミ箱のボタン(0.85px)をクリックします。

ラベルの並べ替え

To rearrange the order of the labels, click on the green sign (0.85px) located under the column called 'Position' and re-position the label as you prefer.

言語の追加

To add a new language, Create or import new label set(s) -> Languages -> select the languages you wish to add.

To start translating the labels into another language, select the language in which you would like to translate the labels to from the upper part of the matrix.




Every label needs a code, an assessment value, and a description (as mentioned above). While the label description can be edited for all language options, label codes and assessment values can be edited only from the first language option that is located on the languages toolbar of the matrix. The order of the languages is alphabetical and it cannot be changed from LimeSurvey.

In our case, the language from where the label codes and assessment values can be changed is English. Only the label description can be edited when the Romanian tab is selected - which represents the corresponding Romanian label translation of the English label.

Once you are done with the changes, do not forget to click on the 'Save changes' button located in the upper-right part of the screen.

Before reading further, take a look at our wiki on how to create surveys since it is already assumed in the examples from below that you have already created your survey.


For a better understanding of the label sets option, let's take a look at the following examples:

The screenshots used below are from LimeSurvey 3.0, the interface being slightly different from the last LimeSurvey 2.xx release.


ラベルセットを回答リストとして利用する

All the label sets that are displayed under Configuration -> Label sets are called predefined label sets. They can be used either as subquestions or as answers.

Assuming that the label set and survey are created:

  • Go to the structure of the survey and create a question group - About LimeSurvey.



  • Click on the Structure tab and then on the newly created question group (About LimeSurvey in our case). Look for group quick actions and choose Add new question to group:



  • Type in the code and text of the question.
  • In order to use a label set as a set of answers, pick up the right type of question that can make use of label sets. The array question type is selected in our example:



  • Save the question to add it into your question group.
  • Once created, you will have to add subquestions and answers:



Please note that not all question types ask for subquestions and/or answers!
  • Add at least one subquestion:



  • Add answer options. Predefined label sets... option will be used:



  • Select the label set you want to use:


0.7px


The result should look like this:



  • Save & preview the question:


他の言語の回答としてラベルを使用する

Before reading this example:
  1. Create a label set and select the other languages you would like to use in your survey. For further details, read our wiki on how to translate a label set in other languages.
  2. Edit your survey (Settings -> General Settings) by adding the additional languages you want to translate to. For more details on how to create a survey, read the following wiki.

Assuming that the label set and survey are created:

  • Create a question that can make use of label sets (e.g. array question type):
  Attention : Do not forget to select the language you want to translate to from the languages toolbar!


  • Because the array question type is selected, both the subquestions and answers need to be translated.



  • Translate the subquestions. Do not forget to select the right language tab for translation:



  • Translate the answers. However, because we use predefined label sets, select the right language tab to add the translated label set as answer options:




  • Save & Preview the survey:


ラベルテキストの代わりに絵文字を使う

In order to use emoticons (or any other graphics) , you have to use the embedded HTML editor when creating labels.

Assuming that the survey is created:




The HTML editor offers you a more comprehensive view on how different options can be used to enhance your survey. It is not necessary to have HTML knowledge because the toolbar is self-explaining (for further details you can either hover the mouse over the options or click on that option for more details). By using such an editor, you can also add (for example) smileys, images and/or videos that are either hosted online or on your server. In this example. three smileys have been added:



  • Create a question that can make use of label sets as predefined answers (e.g. array question type):



  • Edit the subquestions and the answer options



  • Set predefined labels as answer options.


SmileysLabelsExample.png


  • Save and preview the question:


ラベルセットをインポートし、サブ質問リストとして使用する

Assuming that the survey is created:

Optional: Access LimeSurvey templates database and download the one you wish to use - .lsl file format (Australian states in our example).
  • Go to Configuration and click on Manage label sets button.
  • Click on Create or import new label set(s) (in the upper-left side of the screen) -> Import label set(s). Browse your computer and select the .lsl file (the label set format).
  • Now that the label set was uploaded, create a question that requires the usage of subquestions (array question types).
  • Edit subquestions.
  • Load the imported label set:
  • Save and preview.