Help:Contributing/languages: Difference between revisions

From Wikibase
Jump to navigation Jump to search
Links: translatable labels via Special:MyLanguage instead of whole-link tvars (via update-page on MediaWiki MCP Server)
Rewrite in code-guide style: strip translation markup, <code> for plain tokens (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<languages/>
The knowledge base is multilingual on a best-effort basis: <code>en</code>, <code>fr</code>, <code>eo</code>. Multilingualism works in two places: inside entities — labels, descriptions and aliases — and on wiki pages, through the Translate extension. Contribution is never blocked on translation: write in the language you know; translators cover the others.


<translate>
== Entities and properties ==
<!--T:1-->
The knowledge base is multilingual on a best-effort basis: en, fr, eo. Multilingualism works in two places: inside entities — labels, descriptions and aliases — and on wiki pages, through the Translate extension. Contribution is never blocked on translation: write in the language you know; translators cover the others.
</translate>


== <translate><!--T:2--> Entities and properties</translate> ==
Items and properties are single entities: there is exactly one page per entity (for example [[Special:EntityPage/Q1]]), shown in the reader's interface language. The multilingual content lives <em>inside</em> the entity as per-language values.
 
<translate>
<!--T:3-->
Items and properties are single entities: there is exactly one page per entity (for example <tvar name="item">[[Special:EntityPage/Q1]]</tvar>), shown in the reader's interface language. The multilingual content lives <em>inside</em> the entity as per-language values.
</translate>


{| class="wikitable" style="width:100%"
{| class="wikitable" style="width:100%"
! Field !! What it is !! Example (property <code>P1</code>)
|-
|-
! <translate><!--T:4--> Field</translate> !! <translate><!--T:5--> What it is</translate> !! <translate><!--T:6--> Example (property P1)</translate>
| Label || The short, human-readable name of the entity || instance of
|-
| <translate><!--T:7--> Label</translate> || <translate><!--T:8--> The short, human-readable name of the entity</translate> || <translate><!--T:9--> instance of</translate>
|-
|-
| <translate><!--T:10--> Description</translate> || <translate><!--T:11--> A one-line clarification that disambiguates the entity</translate> || <translate><!--T:12--> that class of which this subject is a particular example and member</translate>
| Description || A one-line clarification that disambiguates the entity || that class of which this subject is a particular example and member
|-
|-
| <translate><!--T:13--> Aliases</translate> || <translate><!--T:14--> Alternative names or spellings that also resolve to the entity</translate> || <translate><!--T:15--> example of</translate>
| Aliases || Alternative names or spellings that also resolve to the entity || example of
|}
|}


<translate>
<!--T:16-->
House rules:
House rules:
* A label and a description must be unique together <em>per language</em>: no two entities may share the same label + description pair in the same language.
* A label and a description must be unique together <em>per language</em>: no two entities may share the same label + description pair in the same language.
* Do not copy Wikidata property numbers — properties are mirrored and mapped via equivalence statements instead (see the ontology alignment decision).
* Do not copy Wikidata property numbers — properties are mirrored and mapped via equivalence statements instead (see the ontology alignment decision).
* Prefer the local, human-written value over a machine translation; if you use a machine translation, review it against the original before saving.
* Prefer the local, human-written value over a machine translation; if you use a machine translation, review it against the original before saving.
</translate>


=== <translate><!--T:17--> Workflow</translate> ===
=== Workflow ===


<translate>
<!--T:18-->
To add or edit terms in another language:
To add or edit terms in another language:
<ol>
<ol>
<li>Open the entity (for example <tvar name="p1">[[Special:EntityPage/P1]]</tvar>) and enter edit mode.</li>
<li>Open the entity (for example [[Special:EntityPage/P1]]) and enter edit mode.</li>
<li>Open the <tvar name="morelanguages">"In more languages"</tvar> section at the top of the page.</li>
<li>Open the "In more languages" section at the top of the page.</li>
<li>Choose the language, type the value, save.</li>
<li>Choose the language, type the value, save.</li>
</ol>
</ol>
Every field takes a language code (for example <code>en</code>, <code>fr</code>, <code>eo</code>) and the value for that language.
Every field takes a language code (for example <code>en</code>, <code>fr</code>, <code>eo</code>) and the value for that language.
</translate>


== <translate><!--T:19--> Classic wiki pages</translate> ==
== Classic wiki pages ==


<translate>
<!--T:20-->
Wiki pages are translated with the Translate extension, which separates two roles:
Wiki pages are translated with the Translate extension, which separates two roles:
* The translation administrator marks pages for translation and manages their units.
* The translation administrator marks pages for translation and manages their units.
* The translator translates units through the translation interface.
* The translator translates units through the translation interface.
</translate>


=== <translate><!--T:21--> Workflow per role</translate> ===
=== Workflow per role ===


<translate>
<!--T:22-->
* [[Special:MyLanguage/Help:Contributing/languages/translationAdmin|Translation admin]] — marking and managing pages
* [[Special:MyLanguage/Help:Contributing/languages/translationAdmin|Translation admin]] — marking and managing pages
* [[Special:MyLanguage/Help:Contributing/languages/translator|Translator]] — translating units
* [[Special:MyLanguage/Help:Contributing/languages/translator|Translator]] — translating units
</translate>


== <translate><!--T:23--> See also</translate> ==
== See also ==


* [[Help:Contributing]] — contributing to this wiki
* [[Help:Contributing]] — contributing to this wiki
* [[Help:Contributing/code]] — code blocks and syntax highlighting
* [[Help:Contributing/code]] — code blocks and syntax highlighting
* [https://www.mediawiki.org/wiki/Help:Extension:Translate Translate extension help] (official)
* [https://www.mediawiki.org/wiki/Help:Extension:Translate Translate extension help] (official)

Revision as of 17:27, 19 August 2026

Languages: English · français · Esperanto

The knowledge base is multilingual on a best-effort basis: en, fr, eo. Multilingualism works in two places: inside entities — labels, descriptions and aliases — and on wiki pages, through the Translate extension. Contribution is never blocked on translation: write in the language you know; translators cover the others.

Entities and properties

Items and properties are single entities: there is exactly one page per entity (for example Special:EntityPage/Q1), shown in the reader's interface language. The multilingual content lives inside the entity as per-language values.

Field What it is Example (property P1)
Label The short, human-readable name of the entity instance of
Description A one-line clarification that disambiguates the entity that class of which this subject is a particular example and member
Aliases Alternative names or spellings that also resolve to the entity example of

House rules:

  • A label and a description must be unique together per language: no two entities may share the same label + description pair in the same language.
  • Do not copy Wikidata property numbers — properties are mirrored and mapped via equivalence statements instead (see the ontology alignment decision).
  • Prefer the local, human-written value over a machine translation; if you use a machine translation, review it against the original before saving.

Workflow

To add or edit terms in another language:

  1. Open the entity (for example Special:EntityPage/P1) and enter edit mode.
  2. Open the "In more languages" section at the top of the page.
  3. Choose the language, type the value, save.

Every field takes a language code (for example en, fr, eo) and the value for that language.

Classic wiki pages

Wiki pages are translated with the Translate extension, which separates two roles:

  • The translation administrator marks pages for translation and manages their units.
  • The translator translates units through the translation interface.

Workflow per role

See also