Difference between revisions of "Translations"

From Wikidocumentaries
Jump to navigation Jump to search
(Interface language)
(Interface language)
Line 11: Line 11:
  
 
===Interface language===
 
===Interface language===
* The user may change the interface language of the site
+
* The user may change the interface language of the site to a supported interface language.
 +
* The interface languages are translated in [https://translatewiki.net/wiki/Translating:Wikidocumentaries TranslateWiki].
 
* The language menu displays the user's language fallback chain and one item to see other languages
 
* The language menu displays the user's language fallback chain and one item to see other languages
 
* The menu is created in [https://github.com/Wikidocumentaries/wikidocumentaries-ui/blob/master/src/components/menu/UILanguageMenu.vue UILanguageMenu.vue].
 
* The menu is created in [https://github.com/Wikidocumentaries/wikidocumentaries-ui/blob/master/src/components/menu/UILanguageMenu.vue UILanguageMenu.vue].

Revision as of 09:42, 18 March 2019

Wikidocumentaries is multilingual. The user interface language can be changed to any available language. The UI languages are translated in TranslateWiki.net.

It is also possible to view only the article in another language. The article language menu will display the user's available languages and a link to all available languages. See Article.

  • If the topic exists in Wikidata, the articles generally exist in different language Wikipedias.
  • If the topic exists in Wikidocumentaries, the articles generally exist in Wikidocumentaries.

dispo displays Wikipedia articles Interface and content language can be changed in the main menu.

Wikipedia Other languages.png

Languages used

Interface language

  • The user may change the interface language of the site to a supported interface language.
  • The interface languages are translated in TranslateWiki.
  • The language menu displays the user's language fallback chain and one item to see other languages
  • The menu is created in UILanguageMenu.vue.

The topic title and description

  • The topic title and description are returned from Wikidata
  • The language fallback of the title is based on the #fallback logic

Article

  • The user may decide to show a single article in a chosen language.
  • The language switch menu displays the available articles ordered by the user's language fallback chain
  • The menu is created in ...
  • The menu shows 5 best language options for the article and the remaining ones behind a single option

Search conditions

  • The topic title is used to search for images
  • Additional properties and aliases may be used also
  • The topic title is used to show a nearby place on the map

Translations

  • Translations are managed in TranslateWiki. It produces json-files in all included languages
  • The json files are put together in wikidocumentaries-ui/src/store/messages.js.

Fallback logic

Applies to
  • Topic title
  • Topic description
  • Map nearby places
  • Article language options sort order
  1. Wikidata label in the UI language. The UI language is by default the browser language, but the user may change it.
  2. The topic in it's original language.
  3. Wikidata label in the best language option in the language fallback chain. The fallback chain is initially a hard-coded list of languages. Later on, the user may construct this list.
  4. English
  5. Any language that the system encounters.
Search terms for images
  • Topic title and aliases
    • in the API service's preferred language
    • in the topic's original language
    • English



Navigation

About Technology Design Content modules Tool pages Projects
Status

Wikidocumentaries blog

Wikidocumentaries demo

Phabricator project

Facebook group

GitHub repository

Translation in TranslateWiki

Wikidocumentaries Slack

Setting up dev environment

Resources

Translations

Languages

Using Wikibase

Federation with Wikidata

APIs

Linking

Media metadata

Properties to content

User registration

Licensing

Page types

Landing page

Search page

Topic page

User page

Organisation page

Project page

Tool page

Tasks

Components

Main toolbar and footer

Search

Topic page header

Content module

Dropdown

Modal

Icons

Active modules

Article

Family tree

Gallery

Historical map

Images

Image viewer

Infobox

Map

Module ideas

Audio/Video

Bibliography

Correspondence

Discussion

Graph

Name

Newspaper articles

Testimonials

Timeline

Visualizations

Wikidocumentary

3D

Visual editor

Query tool

QuickStatements

Open Refine

Creating topics

Uploading images

Geolocating tool

Metadata editor

Rectifying maps

Transcription

Annotation tool

Central Park Archives

Convent Quarter

Wikisource