Difference between revisions of "Translations"
Jump to navigation
Jump to search
(→Fallback logic) |
(→Fallback logic) |
||
Line 30: | Line 30: | ||
Topic title: | Topic title: | ||
# Wikidata label in the UI language. The UI language is by default the browser language, but the user may change it) | # Wikidata label in the UI language. The UI language is by default the browser language, but the user may change it) | ||
− | # 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 | + | # 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. |
+ | # The topic in it's original language. | ||
+ | # Any language that the system encounters. | ||
{{design-nav}} | {{design-nav}} |
Revision as of 14:05, 21 January 2019
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.
Contents
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
Topic title:
- Wikidata label in the UI language. The UI language is by default the browser language, but the user may change it)
- 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.
- The topic in it's original language.
- Any language that the system encounters.
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |