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

Fix/link to next intl is missing in collaborator guide #6425

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The Website also uses several other Open Source libraries (not limited to) liste
- [Shiki][] is a Syntax Highlighter used for our Codeboxes
- The syntax highlighting is done within the processing of the Markdown files with the MDX compiler as a Rehype plugin.
- [MDX][] and Markdown are used for structuring the Content of the Website
- [`next-intl`][] is the i18n Library adopted within the Website
- [`next-intl`](https://www.npmjs.com/package/next-intl) is the i18n Library adopted within the Website
- It provides an excellent integration with Next.js, But it also supports standalone support for i18n if it eventually migrates from Next.js to something else.
- Supports React Server Components and Next.js Middlewares
- [`next-sitemap`](https://www.npmjs.com/package/next-sitemap) is used for Sitemap and `robots.txt` Generation
Expand Down
5 changes: 4 additions & 1 deletion components/Blog/BlogHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const BlogHeader: FC<BlogHeaderProps> = ({ category }) => {
<header className={styles.blogHeader}>
<h1>
{t('layouts.blog.title')}
<Link href={`/feed/${currentFile}`}>
<Link
href={`/feed/${currentFile}`}
aria-label={t('layouts.blog.blogHeader.RSS')}
>
<RssIcon />
</Link>
</h1>
Expand Down
3 changes: 3 additions & 0 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@
"weekly": "Weekly Updates",
"wg": "Working Groups",
"events": "Events"
},
"blogHeader": {
"RSS": "RSS feed"
}
},
"error": {
Expand Down