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

Decide locale prefix with page language in show_alchemy_page_url helper #2366

Merged
merged 1 commit into from Sep 4, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 2, 2022

What is this pull request for?

Instead of using the current languages locale, we use the locale
of the page in question. That way we can use it in places were
the current language is not the pages language (ie. sitemaps)

Closes #2349

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

Instead of using the current languages locale, we use the locale
of the page in question. That way we can use it in places were
the current language is not the pages language (ie. sitemaps)

Closes AlchemyCMS#2349
@tvdeyen
Copy link
Member Author

tvdeyen commented Sep 4, 2022

@mamhoff if you wouldn't mind?

@tvdeyen tvdeyen merged commit d87006d into AlchemyCMS:main Sep 4, 2022
@tvdeyen tvdeyen deleted the prefix-locale-url-helper branch September 4, 2022 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sitemap generation for multi-language websites does not write out correct urls
2 participants