Help
Difference between revisions of "Add a new language"
Line 19: | Line 19: | ||
<!--T:6--> | <!--T:6--> | ||
− | ➊ In top right corner > User icon > [[Special:Preferences#mw-prefsection-gadgets|Preferences > Gadgets]] : check in "LinguaImporter" > “Save”;</translate> | + | <big>➊</big> In top right corner > User icon > [[Special:Preferences#mw-prefsection-gadgets|Preferences > Gadgets]] : check in "LinguaImporter" > “Save”;</translate> |
[[File:Gadget tab in preferences.png|center|500px|<translate><!--T:7--> The gadget tab of your preferences.</translate>]] | [[File:Gadget tab in preferences.png|center|500px|<translate><!--T:7--> The gadget tab of your preferences.</translate>]] | ||
<translate> | <translate> | ||
<!--T:8--> | <!--T:8--> | ||
− | ➋ In top right corner > Gears icon > “Import a language” : click</translate> | + | <big>➋</big> In top right corner > Gears icon > “Import a language” : click</translate> |
[[File:ImportLanguageEn.png|center|500px|<translate><!--T:9--> The tool menu.</translate>]] | [[File:ImportLanguageEn.png|center|500px|<translate><!--T:9--> The tool menu.</translate>]] | ||
<translate> | <translate> | ||
<!--T:10--> | <!--T:10--> | ||
− | ➌ The popup below appears.</translate> | + | <big>➌</big> The popup below appears.</translate> |
[[File:LinguaImporter.png|center|500px|<translate><!--T:11--> LinguaImporter popup used to import the Picard language.</translate>]] | [[File:LinguaImporter.png|center|500px|<translate><!--T:11--> LinguaImporter popup used to import the Picard language.</translate>]] | ||
<translate><!--T:12--> | <translate><!--T:12--> | ||
Line 35: | Line 35: | ||
<!--T:13--> | <!--T:13--> | ||
− | ➍ A successful popup should appears, indicating the LinguaLibre item identifier corresponding to your to the language.</translate> | + | <big>➍</big> A successful popup should appears, indicating the LinguaLibre item identifier corresponding to your to the language.</translate> |
[[File:Language imported.png|center|500px|<translate><!--T:14--> The language has been successfully imported on Lingua Libre.</translate>]] | [[File:Language imported.png|center|500px|<translate><!--T:14--> The language has been successfully imported on Lingua Libre.</translate>]] | ||
Revision as of 12:02, 15 December 2018
You can record any language, dialect or language variety using Lingua Libre. Lingua Libre uses item to store information on language in a way equivalent to what Wikidata does. All existing languages are listed here.
If your language/dialect does not exist yet, you can create it by yourself. To do so, we have two options:
- ask to an administrator (this is the recommended way). You can find a list of the administrators here.
- create a new item by hand
Tool for administrators
This section applies only for administrators
The gadget LinguaImporter can be used by administrators in order to import a language directly from Wikidata. To do so, follow the following steps.
➊ In top right corner > User icon > Preferences > Gadgets : check in "LinguaImporter" > “Save”;
➋ In top right corner > Gears icon > “Import a language” : click
➌ The popup below appears.
- Enter the Wikidata identifier of the language. For example, to import here the Picard language, you have to enter Q34024. Instead of the identifier, you may also type the name in English of the language (if you want to import the French language, “français” will not find the language while “French” will do. Click on the element corresponding to the language you are interested in. Be careful to click on the right language in order not to import elements that are not languages. Validate by clicking on the “Import” button.
➍ A successful popup should appears, indicating the LinguaLibre item identifier corresponding to your to the language.
This new language is now available to anyone who wants to record word lists.
Create a new language by hand
It is recommended to create a new language by asking to an administrator. So that, all labels filled on Wikidata, that contain the language name in several languages, will be imported. If you create a language by hand, you will have to translate the name of the language by yourself.
If you still want to create a new language by yourself, follow these steps:
- Click on this link in order to create a new item. You arrive on the page below.
- In the label field, type the language name in the language that is selected in the Language list;
- In the description field, type a short description that allow to understand which language is it;
- In the alias field, you can optionally enter other language names that are used for this language
- Finally click on the “Create” button.
- You are redirected to the page of the new element you just created
- Now, you have to create the following statements by clicking on “add statement”:
- instance of (P2) with the value language (Q4);
- wikidata id (P12) with a value with a form like QXXXX where XXXX has to be replace by the Wikidata identifier of this language;
- ISO 639-3 code (P13) with the value YYY, where YYY is the ISO 639-3 code of the language if it has one. For dialect or language that does not have ISO 639-3, do not use this property;
- optionally, you can add other statements such as Wikimedia language code (P17), ... You can also add language name in other languages (Arabic, Chinese, French, Russian, Spanish, ...).
- To save the statement, you have to click on “save”.
This new language is now available to anyone who wants to record word lists.