Translations

From Wikidocumentaries
Revision as of 14:11, 21 January 2019 by Admin (talk | contribs) (Fallback logic)
Jump to navigation Jump to search

Interface and content language can be changed in the main menu.

User interface translations are handled by TranslateWiki.net. New translatable items are added to the English master.

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.

Wikipedia Other languages.png

Languages used

Interface language

  • The user may change the interface language of the site

The topic title

  • The topic title should exist in the best possible language

Wikipedia article

  • The user may decide to show a single article in a chosen language.

Search conditions

  • The topic title is used to search for images
  • The topic title is used to show a nearby place on the map

Translations

  • Translatons are managed in TranslateWiki. It produces json-files in all included languages
  • The json files ae put together in wikidocumentaries-ui/src/store/messages.js.
  • Menu is created in LanguageMenu.vue.

Fallback logic

Applies to
  • Topic title
  • Topic description
  • Map nearby places
  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.
Applies to
  • Wikipedia



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

Faceting

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