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

Set language cookie when selecting language #577

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

frcroth
Copy link
Contributor

@frcroth frcroth commented Jul 13, 2024

Closes #559

Using the set language view from Django: https://docs.djangoproject.com/en/5.0/topics/i18n/translation/#the-set-language-redirect-view, integrated into the existing links.

Using a form with hidden fields to achieve that.

@frcroth frcroth requested a review from jeriox July 13, 2024 10:46
@frcroth frcroth self-assigned this Jul 13, 2024
myhpi/templates/footer.html Outdated Show resolved Hide resolved
myhpi/templates/footer.html Outdated Show resolved Hide resolved
@frcroth frcroth requested a review from jeriox July 15, 2024 17:03
@frcroth frcroth merged commit 5df5db4 into fsr-de:main Jul 17, 2024
8 checks passed
@frcroth frcroth deleted the set-lang-cookie branch July 17, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Store user language preference
2 participants