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 additional languages in Leap and Leap Micro Download pages #98

Open
lkocman opened this issue May 20, 2022 · 5 comments
Open

No additional languages in Leap and Leap Micro Download pages #98

lkocman opened this issue May 20, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@lkocman
Copy link
Contributor

lkocman commented May 20, 2022

Originally reported here https://bugzilla.opensuse.org/show_bug.cgi?id=1199541

There are no language list on Download pages of Leap and Leap Micro.
In other download pages (Tumbleweed, MicroOS, Kubic) language list are available to translate.

@hellcp
Copy link
Member

hellcp commented May 30, 2022

What a weird bug

@hellcp hellcp added the bug Something isn't working label May 30, 2022
@ghost
Copy link

ghost commented Jun 1, 2022

The ones with working language selection use
{% include distribution.html distro="XYZ" %}
while the ones without use

{% capture redirect_url %}/leap/{{ site.releases.leap[site.releases.leap.current].version }}/{% endcapture %}
{% include redirect.html url=redirect_url %}

So that might have something to do with it?

@hellcp
Copy link
Member

hellcp commented Jun 1, 2022

That's not the source of the issue, we build Leap and Leap Micro based on https://github.com/openSUSE/get-o-o/blob/main/_plugins/releases.rb#L67, and most likely there are missing variables used in https://github.com/openSUSE/jekyll-theme/blob/l10n-feat/_includes/header.html#L70-L74. To fix this you would need to check https://github.com/ashmaroli/jekyll-locale for where the locales get picked up from and assign them to the same variable as used in the template in jekyll theme

@hellcp
Copy link
Member

hellcp commented Aug 16, 2022

Please verify if it's fixed, I have modified the releases plugin a little bit and from the limited testing it seems to have rectified the issue

@ivanvorstanenko
Copy link
Contributor

Please verify if it's fixed, I have modified the releases plugin a little bit and from the limited testing it seems to have rectified the issue

Yeah, it fixed, thanks!

изображение

@lkocman, close this issue, please.

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

3 participants