Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No language change possible with Language Extension Bundle #587

Closed
ManuelHaas opened this issue Feb 15, 2023 · 3 comments
Closed

No language change possible with Language Extension Bundle #587

ManuelHaas opened this issue Feb 15, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ManuelHaas
Copy link

Describe the Bug

Using current citizen skin (2.40), there is no possibility to switch language for a wiki that provides mulitple languages via translate extension. You can neither change the interface language nor the language of the displayed content. Functionality is working fine with timeless skin.

  1. Is language support only provided if using InterWiki extension because this is not installed?
  2. Or is there any config setting necessary to get a language selector button like in the german citizen wiki?

Expected Behavior

Language selection button to switch between the provided wiki languages.

System

  • MediaWiki version v1.39.1
  • Server OS: Ubuntu 22.04.1
  • Installed extensions and versions: Language Extension Bundle 2023-01-24 MLEB 2023.01
  • PHP version 8.0.27
@ManuelHaas ManuelHaas added the bug Something isn't working label Feb 15, 2023
@alistair3149
Copy link
Member

Will look into it

@alistair3149
Copy link
Member

alistair3149 commented Feb 15, 2023

So to answer your question, the language selection button only appears for any extension that modifies the languages sidebar menu by default, that includes Extension:Interwiki.

To apply this behavior for Extension:Translate, you need to put the following config in localsettings.php

$wgPageTranslationLanguageList = 'sidebar-only';

On a side note, Extension:Interwiki and Extension:Translate treat languages differently. Extension:Interwiki links independent wikis for languages (e.g. English Wikipedia and German Wikipedia are separate wikis, linked through Interwiki). While Extension:Translate links pages on the same wiki (e.g. Article/en for English and Article/de for German on the same wiki).

There is some current bugs with ULS and Translate that I am trying to fix, but I don't have an ETA at the moment because they are complicated.

alistair3149 added a commit that referenced this issue Feb 15, 2023
This should also fix the issue of ULS not showing up (#587, #425).
@ManuelHaas
Copy link
Author

Thank you very much for the detailed explanation!
So far it works well with this setting set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants