Help

Difference between revisions of "Add a new language"

(people would like to translate that link)
Line 19: Line 19:
  
 
<!--T:6-->
 
<!--T:6-->
<big>➊</big> 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 > [[<tvar|link>Special:Preferences#mw-prefsection-gadgets</>|Preferences > Gadgets]] : check in "LinguaImporter" > “Save”;</translate>
  
 
<center>[[File:Capture d'écran outil d'import de langues lingua libre n1.png|center|thumb|500px|<translate><!--T:7--> The gadget tab of your preferences.</translate>]]</center>
 
<center>[[File:Capture d'écran outil d'import de langues lingua libre n1.png|center|thumb|500px|<translate><!--T:7--> The gadget tab of your preferences.</translate>]]</center>
Line 28: Line 28:
  
 
<center>[[File:Lingua Libre - Import a language.png|center|500px|<translate><!--T:9--> The tool menu.</translate>]]</center>
 
<center>[[File:Lingua Libre - Import a language.png|center|500px|<translate><!--T:9--> The tool menu.</translate>]]</center>
 
  
 
<translate>
 
<translate>
Line 34: Line 33:
 
<big>➌</big> The popup below appears.</translate>
 
<big>➌</big> The popup below appears.</translate>
 
<center>[[File:LinguaLibre - LinguaImporter, Picard language.png|center|500px|<translate><!--T:11--> LinguaImporter popup used to import the Picard language.</translate>]]</center>
 
<center>[[File:LinguaLibre - LinguaImporter, Picard language.png|center|500px|<translate><!--T:11--> LinguaImporter popup used to import the Picard language.</translate>]]</center>
 
  
 
<translate><!--T:12-->
 
<translate><!--T:12-->
Line 60: Line 58:
 
* Click on [[Special:NewItem|this link]] in order to create a new item. You arrive on the page below.
 
* Click on [[Special:NewItem|this link]] in order to create a new item. You arrive on the page below.
 
[[File:Create_a_new_item.png|center|500px|The main page to create a new item.]]
 
[[File:Create_a_new_item.png|center|500px|The main page to create a new item.]]
 
  
 
<!--T:21-->
 
<!--T:21-->
Line 77: Line 74:
 
:* [[Property:P2|instance of <small>(P2)</small>]] with the value [[Q4|language <small>(Q4)</small>]];
 
:* [[Property:P2|instance of <small>(P2)</small>]] with the value [[Q4|language <small>(Q4)</small>]];
 
:* [[Property:P12|wikidata id <small>(P12)</small>]] with a value with a form like QXXXX where XXXX has to be replace by the Wikidata identifier of this language;
 
:* [[Property:P12|wikidata id <small>(P12)</small>]] with a value with a form like QXXXX where XXXX has to be replace by the Wikidata identifier of this language;
:* [[Property:P13|ISO 639-3 code <small>(P13)</small>]] with the value YYY, where YYY is the [<tvar|iso639>https://en.wikipedia.org/wiki/ISO_639-3</> 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;
+
:* [[Property:P13|ISO 639-3 code <small>(P13)</small>]] with the value YYY, where YYY is the [[wikipedia:ISO_639-3|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 [[Property:P17|Wikimedia language code <small>(P17)</small>]], ... You can also add language name in other languages (Arabic, Chinese, French, Russian, Spanish, ...).
 
:* optionally, you can add other statements such as [[Property:P17|Wikimedia language code <small>(P17)</small>]], ... You can also add language name in other languages (Arabic, Chinese, French, Russian, Spanish, ...).
 
: To save the statement, you have to click on “save”.
 
: To save the statement, you have to click on “save”.
Line 83: Line 80:
  
 
<!--T:26-->
 
<!--T:26-->
This new language is now available to anyone who wants to record word lists.  
+
This new language is now available to anyone who wants to record word lists.
 +
</translate>
 
}}
 
}}
</translate>
 
  
 
[[Category:Lingua Libre:Help]]
 
[[Category:Lingua Libre:Help]]

Revision as of 21:00, 19 January 2021

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎Türkçe • ‎brezhoneg • ‎español • ‎français • ‎interlingua • ‎norsk bokmål • ‎occitan • ‎polski • ‎português do Brasil • ‎română • ‎sicilianu • ‎svenska • ‎македонски • ‎Արեւմտահայերէն • ‎עברית • ‎বাংলা • ‎ไทย • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ

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”;

The gadget tab of your preferences.

In top right corner > "Actions" icon > “Import a language” : click

The tool menu.

The popup below appears.

LinguaImporter popup used to import the Picard language.
Enter the Wikidata identifier of the language. Ex: For Picard language, enter it's wikidata identifier Q34024. You may also type its common English name : for French language, enter “French”, rather than "français". Among the list proposed, click the relevant one. Warning! Be very 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 appears, indicating the LinguaLibre item identifier corresponding to your to the language.

The language has been successfully imported on Lingua Libre.

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.

I know what I'm doing
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.
The main page to create a new item.
  • 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”:
To save the statement, you have to click on “save”.
This new language is now available to anyone who wants to record word lists.