Skip to content

Multilingual theme groundwork#761

Open
Srishti-j18 wants to merge 7 commits into
wagtail:mainfrom
Srishti-j18:multilingual-theme-groundwork
Open

Multilingual theme groundwork#761
Srishti-j18 wants to merge 7 commits into
wagtail:mainfrom
Srishti-j18:multilingual-theme-groundwork

Conversation

@Srishti-j18

@Srishti-j18 Srishti-j18 commented Jun 21, 2026

Copy link
Copy Markdown
Member

Task of #758

Description

This PR adds the multilingual theme groundwork for bakerydemo as part of #758. It focuses on making shared site UI strings translation-ready.

Tested locally

Manually verified shared translated UI strings in the browser, including header and pagination changes. Added some screenshots :

Screenshot 2026-06-22 at 5 01 21 PM Screenshot 2026-06-22 at 5 03 14 PM

AI usage

I used AI to help with some of the code changes, especially in files such as the search_results page where direct change {%...%} was not working. I manually reviewed the final changes and verified them locally.

Add translation tags for shared labels across breadcrumbs,
pagination, alerts, footer links, and bread/location metadata.
@Srishti-j18 Srishti-j18 force-pushed the multilingual-theme-groundwork branch from c6994b7 to 2c0276e Compare June 21, 2026 20:29
@Srishti-j18 Srishti-j18 marked this pull request as ready for review June 21, 2026 20:31
<a href="#main-content" class="skip-link">{% translate "Skip to main content" %}</a>
<div class="container">
<div class="navigation" data-navigation>
<a href="{% pageurl site_root %}" class="navigation__logo">The Wagtail Bakery</a>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the header site title The Wagtail Bakery also be switched to Django translation utilities as part of this issue, or should we treat it as branding and leave it unchanged for now?

</button>

<nav class="navigation__mobile" data-mobile-navigation hidden>
<a href="{% pageurl site_root %}" class="navigation__logo">The Wagtail Bakery</a>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same doubt as above

@Srishti-j18

Srishti-j18 commented Jun 21, 2026

Copy link
Copy Markdown
Member Author

I have already included the language switcher changes in #760 to reduce merge conflicts later.
Also, There will be a few follow-up updates to main.js and header.html after #754 is merged.

@Srishti-j18

Copy link
Copy Markdown
Member Author

CI failure will be resolved once #754 and #759 are merged.

@Srishti-j18 Srishti-j18 moved this from 🏗 In progress to 👀 In review in GSoC 2026: Demo website redesign Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant