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

Language issue with site title and description #3934

Closed
Portugao opened this issue Nov 2, 2018 · 4 comments
Closed

Language issue with site title and description #3934

Portugao opened this issue Nov 2, 2018 · 4 comments

Comments

@Portugao
Copy link

Portugao commented Nov 2, 2018

Q A
Zikula Version 2.0.11
PHP Version 7.1

Expected behavior

title and description in german with german language

Actual behavior

title and description in english with german language, all fields in settings filled correctly

Steps to reproduce

Maybe see https://ziku.la/de/

@Guite Guite added this to the 3.0.0 milestone Nov 2, 2018
@Portugao
Copy link
Author

Portugao commented Nov 2, 2018

Is there a quick fix?

@Guite
Copy link
Member

Guite commented Nov 2, 2018

In your theme you could do:

{% set sitename = getModVar('ZConfig', 'sitename_' ~ app.request.locale) %}
<title>{{ pagevars.title }}{% if sitename not in pagevars.title %} - {{ sitename }}{% endif %}</title>

@Portugao
Copy link
Author

Portugao commented Nov 2, 2018

Ok, That's better, though not perfect. Thx.

@Guite
Copy link
Member

Guite commented Nov 5, 2018

Already fixed in 110e954

@Guite Guite closed this as completed Nov 5, 2018
Guite added a commit that referenced this issue Nov 5, 2018
@Guite Guite modified the milestones: 3.0.0, 2.0.15 Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants