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

Store talk locale #194

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Store talk locale #194

merged 2 commits into from
Aug 9, 2023

Conversation

@spaze spaze self-assigned this Aug 9, 2023
@spaze spaze merged commit 7cf09ce into main Aug 9, 2023
54 checks passed
@spaze spaze deleted the spaze/talk-set-locale branch August 9, 2023 02:01
spaze added a commit that referenced this pull request Aug 14, 2023
@spaze spaze mentioned this pull request Aug 14, 2023
spaze added a commit that referenced this pull request Aug 14, 2023
This improves how talks in the other language are displayed.

Up until now, you could have a talk in English on a `.cz` site and vice
versa which I think caused some troubles for search engines and people
alike. So now when the talk is in English, you'll have a `.com` link in
the list of talks together with a flag icon and a language name. Also,
HTTP redirects will take you where you're supposed to be, English talks
on `.com` site etc., when you're not.

Also, if there's an other locale talk, and it's correctly paired with
the original locale talk using `key_translation_group`, you'll have a
link in the header directly to the talk in the other locale.

Follow-up to #194 #192
spaze added a commit that referenced this pull request Sep 12, 2023
spaze added a commit that referenced this pull request Sep 12, 2023
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.

1 participant