i18n: locale aware content collections [beta] - #2643
Open
redsh4de wants to merge 1 commit into
Open
Conversation
|
redsh4de
force-pushed
the
feat/beta/localize-site-links
branch
from
April 28, 2026 15:59
d1419d0 to
a6d7b10
Compare
redsh4de
marked this pull request as ready for review
April 28, 2026 16:01
redsh4de
force-pushed
the
feat/beta/localize-site-links
branch
from
April 28, 2026 16:44
a6d7b10 to
4f4ad69
Compare
plowsof
reviewed
Apr 28, 2026
plowsof
reviewed
Apr 28, 2026
plowsof
reviewed
Apr 28, 2026
plowsof
reviewed
Apr 28, 2026
redsh4de
force-pushed
the
feat/beta/localize-site-links
branch
from
May 27, 2026 15:11
c8ed67b to
3c07707
Compare
redsh4de
force-pushed
the
feat/beta/localize-site-links
branch
from
June 21, 2026 21:33
3c07707 to
e147976
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This does a few things:
adds a build-time middleware that rewrites internal links into the active locale.
This means that if for example, a blog post contains a link like /downloads, it will be converted into /ar/downloads for Arabic, etc.
content collections (blog, legal) now can be localized as well. blog files moved to a
ensubdirectory to enable that, and links changed to relative links in the files. missing translations fallback to the default locale.more aggressive caching for moneropedia, build should be faster now
updated prepare script to trim all the content collections with the limit-posts flag - blog, legal and moneropedia