Skip to content

Fix 404 on localized "Join us on Slack" menu links - #1220

Merged
rrrutledge merged 1 commit into
masterfrom
fix/localized-slack-menu-404
Aug 19, 2026
Merged

Fix 404 on localized "Join us on Slack" menu links#1220
rrrutledge merged 1 commit into
masterfrom
fix/localized-slack-menu-404

Conversation

@rrrutledge

Copy link
Copy Markdown
Collaborator

What

The "Join us on Slack" navigation link (and the "Join our Chat on Slack" link under Start Here) returned a 404 in every non-English locale.

Why

The menu links pointed at the relative path /slack.
The nav template renders every relative menu URL through Hugo's absLangURL, which prepends the active language prefix - so in each non-English locale the link resolved to /<lang>/slack (e.g. /pt-br/slack, /de/slack, /ja/slack).
The Slack join page exists only once, at the site root (/slack, a redirect to the Slack invite), so every localized variant 404'd.

English was unaffected because it has no language prefix, so its /slack link already resolved to the real page.

Fix

Point the two Slack menu links at the absolute https://innersourcecommons.org/slack in all eight non-English menus (de, es, fr, it, ja, pt-br, ru, zh).
absLangURL passes absolute URLs through unchanged, so each locale now links to the working join page, and the invite link stays single-sourced in the English /slack redirect page.
English menus.en.yaml is left as-is.

Origin

Reported in the community Slack #general by Shingo Oidate for the pt-br locale; verified the same 404 on de, es, fr, it, ja, ru, and zh.

🤖 Generated with Claude Code

The Slack join links in the non-English navigation menus pointed at the
relative path /slack. The menu renders every relative link through
absLangURL, which prepends the active language prefix, so in each
non-English locale the link resolved to /<lang>/slack (e.g. /pt-br/slack).
The Slack join page exists only once at the site root (/slack, a redirect
to the Slack invite), so every localized variant returned a 404.

Point the Slack menu links in all eight non-English menus at the absolute
https://innersourcecommons.org/slack. absLangURL passes absolute URLs
through unchanged, so each locale now links to the working join page while
the invite link stays single-sourced in the English /slack redirect.
English is unaffected (it has no language prefix).

Reported in the community Slack for the pt-br locale; the same 404 affected
de, es, fr, it, ja, ru, and zh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLosAREuF2wPWvGZfn66tg
@rrrutledge
rrrutledge marked this pull request as ready for review August 19, 2026 17:56
@rrrutledge
rrrutledge requested a review from a team as a code owner August 19, 2026 17:56
@rrrutledge
rrrutledge merged commit 19af8c6 into master Aug 19, 2026
4 checks passed
@rrrutledge
rrrutledge deleted the fix/localized-slack-menu-404 branch August 19, 2026 17:57
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