Actions

Label sets/ja: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
No edit summary
 
(110 intermediate revisions by 3 users not shown)
Line 3: Line 3:
__TOC__
__TOC__


=General=  
<span id="General"></span>
=概要=  


Label sets are basically list templates where each list has a set of codes with labels and it can be used in most question types either as answers or as sub-questions. Please bear in mind that LimeSurvey's label sets are merely copied to the particular question as sub-questions or answers. Therefore, if you change a label set after you 'used' it in a questionnaire, the changes will not propagate to the questions from the questionnaire where the respective label set is utilized.
ラベルセットはリストのテンプレートであり、各リストにはラベル付きのコードセットがあり、ほとんどの質問タイプで回答またはサブ質問として使用できます。LimeSurveyのラベルセットは、サブ質問や回答として質問にコピーされるだけであることにご留意ください。したがって、アンケートでラベルセットを使用した後にラベルセットを変更しても、各ラベルセットを使用しているアンケートの質問には反映されません。
   
    
This new usage of label sets gives much more flexibility for future development and makes the structure of a question more logical.
この新しいラベルセットを使用することにより、将来の開発に柔軟性が増し、質問の構造がより論理的になります。


{{Alert|title=Attention|text=A label set must contain the same base language as the survey, else you will not be able to use it for any question of your survey.}}
{{Alert|title=注意|text=ラベルセットにはアンケートと同じ基本言語が含まれていなければなりません。そうでない場合は、アンケートの質問には使用できません。}}


You may find below a label set example to help you better grasp the concept. [[Label sets#Label sets - how to...|Click here]] if you want to go straight to the label set management functions of LimeSurvey.
以下のラベルセットの例は、概念をよりよく理解することができます。LimeSurveyのラベルセット管理機能に直接移動したい場合は、[[Label sets/ja#Label sets - how to...|ここをクリック]]してください。


If one wants to define a custom 7-point scale, a label set provides this function. In the example from below, a very simple custom label set with the code/label pairs ('''the label is what appears in the actual questions''').
自作の7点スケールを定義する場合、ラベルセットがこの機能を果たします。下の例では、コード/ラベルのペア('''ラベルは実際の質問に表示されます''')で設定された非常に単純なカスタムラベルです。


{|class=wikitable
{|class=wikitable
|'''Code'''||'''Label'''
|'''コード'''||'''ラベル'''
|-
|-
|1||Not useful at all
|1||役に立たない
|-
|-
|2||2
|2||2
Line 24: Line 25:
|3||3
|3||3
|-
|-
|4||Somewhat useful
|4||やや役に立った
|-
|-
|5||5
|5||5
Line 30: Line 31:
|6||6
|6||6
|-
|-
|7||Very useful
|7||とても役に立った
|}
|}


You may find below a graphical example where three different smileys are used instead of label text:
ラベルテキストの代わりに3つの異なるスマイリーが使用されるグラフィカルな例を以下に示します。
 


<center>[[File:3xSmiley-Question.gif]]</center>
<center>[[File:3xSmiley-Question.gif]]</center>


=Label sets - how to...=
<span id="Label_sets_-_how_to..."></span>
=ラベルセットの使い方=
 
ラベルセットを編集、作成、削除、インポート、エクスポートするには、'''設定'''メニューの'''ラベルセット管理'''をクリックします。


Click on '''Manage label sets''' in the '''Configuration''' menu to edit, create, delete, import, and/or export label sets.


<center>[[File:labels.png]]</center>  
<center>[[File:labels.png]]</center>  


==...create or import new label set(s)==


Click on the '''Create or import new label set(s)''' button located in the upper-left corner of the page. You can either create a new label set from scratch or import it from [https://www.limesurvey.org/index.php/downloads/category/19-templates another source]:
<span id="...create_or_import_new_label_set(s)"></span>
==ラベルセットの作成、インポート==
 
ページの左上にある'''新規ラベルセットを作成/インポート'''ボタンをクリックします。新しいラベルセットを作成したり、別のソースからインポートしたりすることもできます。


*'''New label set:''' The label set(s) has (have) to be manually created.
*'''新しいラベルセット:''' ラベルセットを手動で作成します。
**'''Set Name:''' Each new label set has to be given a name.
**'''名前を設定:''' 新しいラベルセットに付ける名前を設定します。
**'''Languages:''' Every label set must be specified for the language it's used for. You can choose as many languages from the menu as you want.
**'''言語:''' ラベルセットは言語を指定する必要があります。メニューから言語を選択することができます。


*'''Import label set(s):''' In order to import a label set, click on browse and add the '''.lsl''' label set file. If you have previously created a label set, then LimeSurvey will not allow you import a similar external label set unless you turn off the ''Don't import if label set already exists'' option. '''Some useful label sets are available on the [https://www.limesurvey.org/index.php/downloads/category/19-templates LimeSurvey website]'''.
*'''ラベルセットをインポート:''' ラベルセットをインポートするには、'''ファイルを選択'''をクリックし、ラベルセットファイル'''.lsl'''を追加します。以前にラベルセットを作成していた場合は、''同じラベルセットが既に存在している場合は、インポートされません''をオフにしない限りインポートできません。'''[https://www.limesurvey.org/index.php/downloads/category/19-templates LimeSurveyのウェブサイト]では、便利なラベルセットがあります。'''
 
ラベルをインポートまたは作成したら、画面の右上にある保存ボタンをクリックします。


Once the label was imported or created, click on the Save button located in the right-upper part of the screen.


<center>[[File:Save_Close.jpg]]</center>
<center>[[File:Save_Close.jpg]]</center>


{{Note|If you import a whole survey, the label sets are imported too (with the questions). Duplicated label sets are ignored.}}


==...edit, delete, or export a label set==
{{Note|アンケート全体をインポートすると、質問とともにラベルセットもインポートされます。重複したラベルセットは無視されます。}}
 
<span id="...edit,_delete,_or_export_a_label_set"></span>
==ラベルセットの編集、削除、エクスポート==
 
'''ラベルセット'''リストのそれぞれのエントリーには、対応するメニューがあり、次の4つのオプションがあります。
 


Each label set located in the '''Label sets''' list has a corresponding menu that contains the following four option:
<center>[[File:Edit menu labels.png|150px]]</center>
<center>[[File:Edit menu labels.png|150px]]</center>
*'''View labels:''' Allows the user to view the existing labels located in the respective label set.
*'''Edit label set:''' The user can rename the label set and/or add/remove languages.
*'''Export label set:''' Export label set to a .lsl file.
*'''Delete label set:''' A window will pop up in order to confirm whether you want to delete the respective label set or not.


=Labels - how to...=


==...add a label==
*'''ラベル表示:''' ラベルセットのラベルを表示します。
*'''ラベルセットの編集:''' ラベルセットの名前を変更したり、言語の追加/削除を行うことができます。
*'''ラベルセット出力:''' ラベルを.lslファイルにエクスポートします。
*'''ラベルセットの削除:''' ラベルセットを削除するかどうかを確認するためのウィンドウがポップアップ表示されます。
 
<span id="Labels_-_how_to..."></span>
=ラベルの使い方=
 
<span id="...add_a_label"></span>
==ラベルの追加==
 
ラベルのコード、評価値、題名を入力する必要があります。
 


You have to fill in a label code, an assessment value, and a label description.
<center>[[File:Labels table.png]]</center>
<center>[[File:Labels table.png]]</center>
Then, press on the plus sign [[File:Add label.png]] to add the new label. It's possible to use a graphic instead of (or additionally to) a label text. To do that, you have to use HTML-code to include the graphic you want, e.g.:


<syntaxhighlight lang="html4strict" enclose="div">
 
次に、プラス記号のアイコン[[File:Add label.png]]をクリックし、新しいラベルを追加します。ラベルテキストの代わり、またはテキストに加えてグラフィックを使用することも可能です。これには、HTMLコードを使用して、必要なグラフィックを含める必要があります。例は以下のとおりです。
 
<syntaxhighlight lang="html4strict">
<img border="0" src="http://www.yourdomain.at/pics/pic.gif">
<img border="0" src="http://www.yourdomain.at/pics/pic.gif">
</syntaxhighlight>
</syntaxhighlight>


{{Note|Read also our wiki on [[Assessments|assessments]]. The column is ignored if you set all the values to 0.}}
{{Note|[[Assessments/ja|評価]]に関するウィキも参照してください。すべての値を0に設定すると、列は無視されます。}}
 
HTMLコードを編集するには、ラベルテキストボックスの最後にあるLimeSurveyのHTMLエディターを使用します(緑色のペンボタン[[File: HTML editor.png|0.85px]]をクリックします)。


To ease the editing process of the HTML-code, use the embedded HTML editor of LimeSurvey, which is located at the end of the label-text box (click on the green pen button ->[[File: HTML editor.png|0.85px]]).


<center>[[File:Labels HTML editor.png]]</center>
<center>[[File:Labels HTML editor.png]]</center>


{{Note|For a short introduction on the HTML editor utilized by LimeSurvey, check [[First_login_-_your_user_preferences#Your_account_preferences#Your_personal_settings#HTML_editor_mode|the following page]].}}


===Quick add===
{{Note|LimeSurveyで使用されるHTMLエディターについては、[[First_login_-_your_user_preferences/ja#Your_account_preferences#Your_personal_settings#HTML_editor_mode|次のページ]]を確認してください。}}
 
<span id="Quick_add"></span>
===素早く追加する===
 
ラベルを追加する別の方法として、'''素早く追加...'''ボタンを使用する方法もあります。クリックすると、ウィンドウが表示されます。動作させるには、次の書式で記述します。'''コード ; 題名'''


Another possibility to quickly introduce labels is to use the '''Quick add...''' button. When you click it, a window will pop out. It works under the following form: '''Code ; Title'''.


<center>[[File:QuickAddCodeLabel.png|0.8px]]</center>
<center>[[File:QuickAddCodeLabel.png|0.8px]]</center>


You can either replace or add labels. If you click '''Replace''', all the preexisting labels will be deleted and replaced by the ones entered by you. If you click '''Add''', the new labels will be added into the label set (the preexisting ones not being affected).
 
ラベルを置き換えたり、追加したりできます。'''入れ替え'''をクリックすると、既存のラベルがすべて削除され、入力したラベルに置き換えられます。'''追加'''をクリックすると、新しいラベルがラベルセットに追加されます(既存のラベルは影響を受けません)。
 


<center>[[File:QuickAddResultsCodeandTitle.png|0.8px]]</center>
<center>[[File:QuickAddResultsCodeandTitle.png|0.8px]]</center>


The '''Code''' is automatically added if new entrances are created. Therefore, you can type in only the title of the labels which will automatically be assigned a code:
 
新たなエントリーが作成される場合、'''コード'''が自動的に追加されます。したがって、ラベルのタイトルだけを入力し、自動的にコードが割り当てることができます。
 


<center>[[File:QuickAddLabel.png|0.8px]]</center>
<center>[[File:QuickAddLabel.png|0.8px]]</center>
<center>[[File:QuickAddLabelResults.png|0.8px]]</center>
<center>[[File:QuickAddLabelResults.png|0.8px]]</center>


The ''assessment values'' cannot be edited/entered via this option - it has to be changed manually from the list of labels.


{{Alert|title=Attention|text=If you wish to translate labels by using the '''Quick add...''' function, you need to add the translation on the same line(s) and be separated by a semicolon.}}
'''評価値'''は、ここから入力/編集することはできません。ラベルのリストから手動で変更する必要があります。
 
{{Alert|title=注意|text='''素早く追加...'''機能を使ってラベルを翻訳するには、同じ行に翻訳を追加し、セミコロンで区切ります。}}
 
<span id="...delete_a_label"></span>
==ラベルの削除==


==...delete a label==
ラベルを削除するには、'操作'の欄の下にある赤いゴミ箱のボタン([[File:Delete label.png|0.85px]])をクリックします。


In order to delete a label, click on the red trash button ([[File:Delete label.png|0.85px]]) located under the 'Action' column.
<span id="...rearrange_a_label"></span>
==ラベルの並べ替え==


==...rearrange a label==
ラベルの順序を並べ替えるには、'場所'の欄の下にある緑色の記号([[File:Reorder labels.png|0.85px]])をクリックし、ラベルの位置を変更します。


To rearrange the order of the labels, click on the green sign ([[File:Reorder labels.png|0.85px]]) located under the column called 'Position' and re-position the label as you prefer.
<span id="...add_a_new_language"></span>
==言語の追加==


==...add a new language==
新しい言語を追加するには、'''新規ラベルセットを作成/インポート''' -> '''言語'''から追加する言語を選択します。
 
ラベルを別の言語に翻訳するには、ラベルを翻訳する言語をテーブルの上部から選択します。


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.
[[File:Labels switch language.png]]
[[File:Labels switch language.png]]
[[File:Labels 4lang ro.png]]
[[File:Labels 4lang ro.png]]


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.
変更が完了したら、画面の右上にある'変更を保存'ボタンをクリックしてください。


[[File:Save_changes_close.png]]
[[File:Save_changes_close.png]]


=Examples=
<span id="Examples"></span>
=例=
 
{{Box|''さらに読み進む前に、[[Surveys - introduction/ja|アンケートを作成する方法に関するウィキ]]を見てください。以下の例では、すでにアンケートを作成していることを前提にしています。''}}


{{Box|''Before reading further, take a look at our [[Surveys - introduction|wiki on how to create surveys]] since it is already assumed in the examples from below that you have already created your survey.''}}
ラベルセットオプションの理解を深めるために、以下の例を見てみましょう。
*[[Label_sets/ja#I_want_to_use_a_label_set_as_an_answer_list_for_one_question|質問に対する回答リストとしてラベルセットを使用したい]]
*[[Label sets/ja#I want to use labels in another language as answers|回答として別の言語のラベルを使いたい]]
*[[Label sets/ja#I want to use emoticons instead of label text|ラベルテキストの代わりに絵文字を使いたい]]
*[[Label sets/ja#I want to import a label set and use it as a subquestion list|ラベルセットをインポートし、それをサブ質問リストとして使用したい]]


For a better understanding of the label sets option, let's take a look at the following examples:
{{Box|下記のスクリーンショットは、LimeSurvey 3.0のものです。このインターフェースは、最後のLimeSurvey 2.xxリリースと少し異なります。}}
*[[Label_sets#I_want_to_use_a_label_set_as_an_answer_list_for_one_question| I want to use a label set as an answer list for one question]];
 
*[[Label sets#I want to use labels in another language as answers|I want to use labels in another language as answers]];
<span id="I_want_to_use_a_label_set_as_an_answer_list_for_one_question"></span>
*[[Label sets#I want to use emoticons instead of label text|I want to use emoticons instead of label text]];
==質問に対する回答リストとしてラベルセットを使用したい==
*[[Label sets#I want to import a label set and use it as a subquestion list|I want to import a label set and use it as a subquestion list]].
 
<div class='simplebox'>[[File:help.png]] '''構成''' - '''ラベルセット'''に表示されるすべてのラベルセットは、''定義済みのラベルセット''と呼ばれ、サブ質問または回答として使用することができます。</div>
 
'''[[Label sets/ja#General|ラベルセット]][[Surveys - introduction/ja|アンケート]]が作成されたとします。'''
*アンケートの構成に進み、[[Creating a question group/ja|質問グループ]](''About LimeSurvey'' - LimeSurveyについて')を作成します。


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


==I want to use a label set as an answer list for one question==
'''Assuming that the [[Label sets#General|label set]] and [[Surveys - introduction|survey]] are created:'''
*Go to the structure of the survey and create a [[Creating a question group|question group]] - ''About LimeSurvey''.
<center>[[File:CreateQuestionGroup.png]]</center>
<center>[[File:CreateQuestionGroup.png]]</center>
*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''':
 
 
*構成タブをクリックして、新しく作成した質問グループ(この例では''About LimeSurvey'')をクリックします。グループのクイック操作から、'''新しい質問をグループに追加'''を選択します。
 
 
<center>[[File:AddNewQuestiontoGroup.png]]</center>
<center>[[File:AddNewQuestiontoGroup.png]]</center>
*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:
 
*質問のコードとテキストを入力します。
*ラベルセットを回答のセットとして使用するには、ラベルセットを使用できる質問タイプを選択します。 この例では、 ''配列''質問タイプが選択されています。
 
 
<center>[[File:ArrayQuestionTypeLabelSets.png]]</center>
<center>[[File:ArrayQuestionTypeLabelSets.png]]</center>
*Save the question to add it into your question group.
 
*Once created, you will have to add subquestions and answers:
 
*質問を保存して質問グループに追加します。
*作成したら、サブ質問と回答を追加する必要があります。
 
 
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>


{{Box|Bear in mind that not all question types ask for subquestions and/or answers!}}


*Add at least one subquestion:
<div class='simplebox'>[[File:help.png]] すべての質問タイプでサブ質問や回答が必要であるとは限りません。</div>
 
*少なくとも1つのサブ質問を追加します。
 
 
<center>[[File:ArraySubquestions.png]]</center>
<center>[[File:ArraySubquestions.png]]</center>
*Add answer options. '''Predefined label sets...''' option will be used:
 
 
*回答オプションを追加します。'''定義済みのラベルセット...'''オプションを使います。
 
 
<center>[[File:EditAnswerOptions.png]]</center>
<center>[[File:EditAnswerOptions.png]]</center>
*Select the label set you want to use:
 
 
*使用するラベルセットを選択します。
 
 
<center>[[File:AvailableLabelSetsEnglish.png|0.7px]]</center>
<center>[[File:AvailableLabelSetsEnglish.png|0.7px]]</center>
The result should look like this:
 
 
結果は次のようになります。
 
 
<center>[[File:EditAnswerOptionsResults.png]]</center>
<center>[[File:EditAnswerOptionsResults.png]]</center>
*Save & preview the question:
 
 
*質問を保存してプレビューします。
 
 
<center>[[File:LabelSetsFinal.png]]</center>
<center>[[File:LabelSetsFinal.png]]</center>


==I want to use labels in another language as answers==
<span id="I_want_to_use_labels_in_another_language_as_answers"></span>
==他の言語の回答としてラベルを使用する==
 
{{Box|この例を読む前に...
#ラベルセットを作成し、アンケートに使用する他の言語を選択します。詳細については、[[Label sets/ja#...add a new language|他の言語のラベルセットの翻訳方法]]に関するウィキを読んでください。
#翻訳したい言語を追加して、アンケートを編集します('''設定''' -> 一般設定)。アンケートの作成方法の詳細については、[[Surveys - introduction/ja|こちらのウィキ]]をお読みください。}}
'''[[Label sets/ja#General|ラベルセット]]と[[Surveys - introduction/ja|アンケート]]が作成されているものとします。'''
*ラベルセットを利用できる質問を作成します(例えば''配列''質問タイプ)。
{{Alert|title=注意|text=言語ツールバーから翻訳したい言語を選択してください。}}
*''配列''質問タイプが選択されているため、サブ質問と回答の両方を翻訳する必要があります。
 


{{Box|Before reading this example:
#Create a label set and select the other languages you would like to use in your survey. For further details, read our wiki on [[Label sets#...add a new language|how to translate a label set in other languages.]]
#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 [[Surveys - introduction|the following wiki]].}}
'''Assuming that the [[Label sets#General|label set]] and [[Surveys - introduction|survey]] are created:'''
*Create a question that can make use of label sets (e.g. ''array'' question type):
{{Alert|title=Attention|text=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.
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
*Translate the subquestions. Do not forget to select the right language tab for translation:
 
 
*サブ質問を翻訳してください。翻訳する言語タブを選択してください。
 
 
<center>[[File:ExampleAddLanguageSubquestions.png]]</center>
<center>[[File:ExampleAddLanguageSubquestions.png]]</center>
*Translate the answers. However, because we use predefined label sets, select the right language tab to add the translated label set as answer options:
 
 
*回答を翻訳してください。 ただし、定義済みのラベルセットを使用するため、適切な言語タブを選択して、翻訳されたラベルセットを回答オプションとして追加します。
 
 
<center>[[File:AvailableLabelSetsRomanian.png]]</center>
<center>[[File:AvailableLabelSetsRomanian.png]]</center>
<center>[[File:ExampleEditAnswerOptionsRomanian.png]]</center>
<center>[[File:ExampleEditAnswerOptionsRomanian.png]]</center>
*Save & Preview the survey:
 
 
*アンケートを保存してプレビューします。
 
 
<center>[[File:PreviewAddRomanianLabels.png]]</center>
<center>[[File:PreviewAddRomanianLabels.png]]</center>


==I want to use emoticons instead of label text==
<span id="I_want_to_use_emoticons_instead_of_label_text"></span>
==ラベルテキストの代わりに絵文字を使う==
 
{{Box|絵文字(またはその他のグラフィックス)を使用するには、ラベルを作成するときに組み込みのHTMLエディターを使用する必要があります。}}
'''[[Surveys - introduction/ja|アンケート]]を作成済みとします。'''
*[[Label sets/ja#...add a label|ラベルセットを作成してアクセスします]]。 ''題名''列にテキストを書き込む代わりに、緑のペンをクリックしてHTMLエディターを開いてグラフィックスを追加します。
 


{{Box|In order to use emoticons (or any other graphics) , you have to use the embedded HTML editor when creating labels.}}
'''Assuming that the [[Surveys - introduction|survey]] is created:'''
*[[Label sets#...add a label|Create a label set and access it]]. Instead of writing in the ''Title'' column, open the HTML editor by clicking on the green pen and add graphics instead of text.n:
<center>[[File:GreenPenButtonHTMLLabels.png]]</center>
<center>[[File:GreenPenButtonHTMLLabels.png]]</center>
<center>[[File:InlineMode1.PNG]]</center>
<center>[[File:InlineMode1.PNG]]</center>
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:
 
HTMLエディターでは、さまざまなオプションを使用してアンケートを拡張する方法が包括的に表示されます。ツールバーが直感的なので、HTML知識は必要ありません(詳細を調べるには、マウスをオプションの上に置くか、そのオプションをクリックします)。このエディターで、オンラインまたはサーバー上でホストされているスマイリー、画像、ビデオなどを追加することもできます。
この例では、3つのスマイリーが追加されています。
 
 
<center>[[File:SmileysLabelsExample.png]]</center>
<center>[[File:SmileysLabelsExample.png]]</center>
*Create a question that can make use of label sets as predefined answers (e.g. ''array'' question type):
 
 
*ラベルセットを定義済みの回答として利用できる質問を作成します(例: ''配列''質問タイプ)。
 
 
<center>[[File:New Question Label Sets Emoticons.png]]</center>
<center>[[File:New Question Label Sets Emoticons.png]]</center>
*Edit the subquestions and the answer options
 
 
*サブ質問と回答オプションを編集します。
 
 
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
*Set predefined labels as answer options.
 
 
*Set predefined labels as answer 定義済みのラベルを回答オプションとして設定します。
 
 
<center>[[File:SmileysLabelsExample.png|SmileysLabelsExample.png]]</center>
<center>[[File:SmileysLabelsExample.png|SmileysLabelsExample.png]]</center>
*Save and preview the question:
 
 
*質問を保存してプレビューします。
 
 
<center>[[File:Preview Label Set Emoticons.png]]</center>
<center>[[File:Preview Label Set Emoticons.png]]</center>


==I want to import a label set and use it as a subquestion list==
<span id="I_want_to_import_a_label_set_and_use_it_as_a_subquestion_list"></span>
==ラベルセットをインポートし、サブ質問リストとして使用する==


'''Assuming that the [[Surveys - introduction|survey]] is created:'''
'''[[Surveys - introduction/ja|アンケート]]が作成されているものとします。'''
{{Box|''Optional'': Access [https://www.limesurvey.org/index.php/downloads/category/19-templates '''LimeSurvey templates database'''] and download the one you wish to use - .lsl file format (''Australian states'' in our example).}}
{{Box|''オプション'': [https://www.limesurvey.org/index.php/downloads/category/19-templates '''LimeSurveyテンプレートデータベース''']にアクセスして、使用する.lsl形式のファイル(この例では''オーストラリアの州'')をダウンロードします。}}
*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).
*'''新規ラベルセットを作成/インポート'''(画面左上) -> '''ラベルセットをインポート''''''ファイルを選択'''から、.lslファイル(ラベルセット形式)を選択します。
<center>[[File:ImportaNewLabel.png]]</center>
<center>[[File:ImportaNewLabel.png]]</center>
* Now that the label set was uploaded, create a question that requires the usage of subquestions (''array'' question types).
* ラベルセットがアップロードされたので、サブ質問を使用する質問('''配列'''質問タイプ)を作成します。
* Edit subquestions.
* サブ質問を編集します。
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
<center>[[File:EditSubquestionsandAnswerOptions.png]]</center>
* Load the imported label set:
* インポートされたラベルセットを読み込みます。
<center>[[File:Australia Code Label.png]]</center>
<center>[[File:Australia Code Label.png]]</center>
<center>[[File:Australia Label Set.png]]</center>
<center>[[File:Australia Label Set.png]]</center>
* Save and preview.
* 保存してプレビューします。
<center>[[File:Australia Save and Preview.png]]</center>
<center>[[File:Australia Save and Preview.png]]</center>

Latest revision as of 01:13, 13 April 2024

概要

ラベルセットはリストのテンプレートであり、各リストにはラベル付きのコードセットがあり、ほとんどの質問タイプで回答またはサブ質問として使用できます。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)をクリックします。

ラベルの並べ替え

ラベルの順序を並べ替えるには、'場所'の欄の下にある緑色の記号(0.85px)をクリックし、ラベルの位置を変更します。

言語の追加

新しい言語を追加するには、新規ラベルセットを作成/インポート -> 言語から追加する言語を選択します。

ラベルを別の言語に翻訳するには、ラベルを翻訳する言語をテーブルの上部から選択します。




前述のとおり、すべてのラベルには、コード、評価値、題名が必要です。ラベルの題名はすべての言語オプションで編集できますが、ラベルコードと評価値は、テーブルの言語ツールバーにある最初の言語からのみ編集できます。言語の順序はアルファベット順であり、変更することはできません。

この例の場合、ラベルのコードと評価値を変更できる言語は英語です。ルーマニアのタブが選択されている場合は、ラベルの題名のみを編集できます。これは、英語のラベルに対応するルーマニア語のラベルの翻訳となります。

変更が完了したら、画面の右上にある'変更を保存'ボタンをクリックしてください。

さらに読み進む前に、アンケートを作成する方法に関するウィキを見てください。以下の例では、すでにアンケートを作成していることを前提にしています。


ラベルセットオプションの理解を深めるために、以下の例を見てみましょう。

下記のスクリーンショットは、LimeSurvey 3.0のものです。このインターフェースは、最後のLimeSurvey 2.xxリリースと少し異なります。


質問に対する回答リストとしてラベルセットを使用したい

構成 - ラベルセットに表示されるすべてのラベルセットは、定義済みのラベルセットと呼ばれ、サブ質問または回答として使用することができます。

ラベルセットアンケートが作成されたとします。

  • アンケートの構成に進み、質問グループAbout LimeSurvey - LimeSurveyについて')を作成します。



  • 構成タブをクリックして、新しく作成した質問グループ(この例ではAbout LimeSurvey)をクリックします。グループのクイック操作から、新しい質問をグループに追加を選択します。



  • 質問のコードとテキストを入力します。
  • ラベルセットを回答のセットとして使用するには、ラベルセットを使用できる質問タイプを選択します。 この例では、 配列質問タイプが選択されています。



  • 質問を保存して質問グループに追加します。
  • 作成したら、サブ質問と回答を追加する必要があります。



すべての質問タイプでサブ質問や回答が必要であるとは限りません。
  • 少なくとも1つのサブ質問を追加します。



  • 回答オプションを追加します。定義済みのラベルセット...オプションを使います。



  • 使用するラベルセットを選択します。


0.7px


結果は次のようになります。



  • 質問を保存してプレビューします。


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

この例を読む前に...
  1. ラベルセットを作成し、アンケートに使用する他の言語を選択します。詳細については、他の言語のラベルセットの翻訳方法に関するウィキを読んでください。
  2. 翻訳したい言語を追加して、アンケートを編集します(設定 -> 一般設定)。アンケートの作成方法の詳細については、こちらのウィキをお読みください。

ラベルセットアンケートが作成されているものとします。

  • ラベルセットを利用できる質問を作成します(例えば配列質問タイプ)。
  注意 : 言語ツールバーから翻訳したい言語を選択してください。


  • 配列質問タイプが選択されているため、サブ質問と回答の両方を翻訳する必要があります。



  • サブ質問を翻訳してください。翻訳する言語タブを選択してください。



  • 回答を翻訳してください。 ただし、定義済みのラベルセットを使用するため、適切な言語タブを選択して、翻訳されたラベルセットを回答オプションとして追加します。




  • アンケートを保存してプレビューします。


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

絵文字(またはその他のグラフィックス)を使用するには、ラベルを作成するときに組み込みのHTMLエディターを使用する必要があります。

アンケートを作成済みとします。




HTMLエディターでは、さまざまなオプションを使用してアンケートを拡張する方法が包括的に表示されます。ツールバーが直感的なので、HTML知識は必要ありません(詳細を調べるには、マウスをオプションの上に置くか、そのオプションをクリックします)。このエディターで、オンラインまたはサーバー上でホストされているスマイリー、画像、ビデオなどを追加することもできます。 この例では、3つのスマイリーが追加されています。



  • ラベルセットを定義済みの回答として利用できる質問を作成します(例: 配列質問タイプ)。



  • サブ質問と回答オプションを編集します。



  • Set predefined labels as answer 定義済みのラベルを回答オプションとして設定します。


SmileysLabelsExample.png


  • 質問を保存してプレビューします。


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

アンケートが作成されているものとします。

オプション: LimeSurveyテンプレートデータベースにアクセスして、使用する.lsl形式のファイル(この例ではオーストラリアの州)をダウンロードします。
  • 構成に移動し、ラベルセットの管理ボタンをクリックします。
  • 新規ラベルセットを作成/インポート(画面左上) -> ラベルセットをインポートファイルを選択から、.lslファイル(ラベルセット形式)を選択します。
  • ラベルセットがアップロードされたので、サブ質問を使用する質問(配列質問タイプ)を作成します。
  • サブ質問を編集します。
  • インポートされたラベルセットを読み込みます。
  • 保存してプレビューします。