Help
Difference between revisions of "Add a new language"
WikiLucas00 (talk | contribs) (Marked this version for translation) |
|||
(22 intermediate revisions by 7 users not shown) | |||
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> |
− | [[File: | + | |
+ | <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> | ||
<translate> | <translate> | ||
<!--T:8--> | <!--T:8--> | ||
− | <big>➋</big> In top right corner > | + | <big>➋</big> In top right corner > "Actions" icon > “Import a language” : click</translate> |
− | [[File: | + | |
+ | <center>[[File:Lingua Libre - Import a language.png|center|500px|<translate><!--T:9--> The tool menu.</translate>]]</center> | ||
<translate> | <translate> | ||
<!--T:10--> | <!--T:10--> | ||
<big>➌</big> 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>]] | + | <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--> | ||
− | :Enter the Wikidata identifier of the language. Ex: For [[:wikipedia:Picard language]], enter it's wikidata identifier [[:wikidata:Q34024|Q34024]]. You may also type its common <u>English</u> 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. | + | :Enter the Wikidata identifier of the language. Ex: For [[:wikipedia:Picard language|Picard language]], enter it's wikidata identifier [[:wikidata:Q34024|Q34024]]. You may also type its common <u>English</u> 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. |
<!--T:13--> | <!--T:13--> | ||
<big>➍</big> A successful popup appears, indicating the ''LinguaLibre'' item identifier corresponding to your to the language.</translate> | <big>➍</big> A successful popup 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>]] | + | <center>[[File:Lingua Libre - Language imported.png|center|500px|<translate><!--T:14--> The language has been successfully imported on Lingua Libre.</translate>]]</center> |
<translate> | <translate> | ||
Line 45: | Line 48: | ||
<!--T:17--> | <!--T:17--> | ||
− | '''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. | + | '''It is recommended to create a new language by asking to an administrator.'''</translate> |
+ | {{Colapse|1=<translate><!--T:27--> I know what I'm doing</translate>|2=<translate><!--T:28--> | ||
+ | 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. | ||
<!--T:18--> | <!--T:18--> | ||
Line 51: | Line 56: | ||
<!--T:19--> | <!--T:19--> | ||
− | * Click on [[Special:NewItem|this link]] in order to create a new item. You arrive on the page below.</translate> | + | * Click on [[Special:NewItem|this link]] in order to create a new item. You arrive on the page below. |
− | [[File: | + | </translate> |
− | + | [[File:CreateNewItem.png|center|500px|<translate><!--T:29--> The main page to create a new item.</translate>]] | |
<translate> | <translate> | ||
<!--T:21--> | <!--T:21--> | ||
Line 59: | Line 64: | ||
: In the description field, type a short description that allow to understand which language is it; | : 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 | : In the alias field, you can optionally enter other language names that are used for this language | ||
− | :Finally click on the “Create” button.</translate> | + | :Finally click on the “Create” button. |
− | [[File: | + | </translate> |
− | <translate> | + | |
+ | [[File:Ngambay LabelDescriptionAliases.png|center|500px|<translate><!--T:30--> Creation of the Ngambay item. Label, description and aliases are filled.</translate>]]<translate> | ||
+ | |||
<!--T:23--> | <!--T:23--> | ||
* You are redirected to the page of the new element you just created | * You are redirected to the page of the new element you just created | ||
− | |||
− | <!--T: | + | </translate> |
− | * Now, you have to create the following statements by clicking on “add statement”: | + | [[File:Ngambay emptyItem.png|center|500px|<translate><!--T:31--> The Ngambay item that has been created. Statements have to be added.</translate>]] |
− | :* | + | |
− | :* | + | *<translate><!--T:24--> Now, you have to create the following statements by clicking on “add statement”:</translate> |
− | :* | + | :*<translate><!--T:33--> {{P|2}} with the value {{Q|4}};</translate> |
− | :* optionally, you can add other statements such as | + | :*<translate><!--T:34--> {{P|12}} with a value with a form like QXXXX where XXXX has to be replace by the Wikidata identifier of this language;</translate> |
− | + | :*<translate><!--T:35--> {{P|13}} 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;</translate> | |
− | + | :*<translate><!--T:36--> optionally, you can add other statements such as {{P|17}}, ... You can also add language name in other languages (Arabic, Chinese, French, Russian, Spanish, ...).</translate> | |
+ | :<translate><!--T:37--> To save the statement, you have to click on “save”.</translate> | ||
− | <translate><!--T:26--> | + | [[File:Ngambay filledItem.png|center|500px|<translate><!--T:32--> Several statements have been added to the Ngambay item.</translate>]]<translate> |
− | This new language is now available to anyone who wants to record word lists. | + | <!--T:26--> |
+ | This new language is now available to anyone who wants to record word lists. | ||
+ | </translate> | ||
+ | }} | ||
+ | |||
+ | <translate> | ||
+ | == See also == <!--T:38--> | ||
</translate> | </translate> | ||
+ | {{Helps}} |
Latest revision as of 18:12, 20 November 2022
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 > "Actions" icon > “Import a language” : click
➌ The popup below appears.
- 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.
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:
|