Skip to content

Commit 9262f1f

Browse files
authored
Enabling language switcher (#2465)
## Motivation for the change, related issues The Playground Documentation has support for six different languages outside English: Japanese, Portuguese, Spanish, Tagalog, and Gujarati. The pull request enables the Language dropdown in the top-right corner: <img width="2559" height="1265" alt="Screenshot 2025-08-06 at 11 43 16" src="https://github.com/user-attachments/assets/591c3a6c-732f-4bb5-a296-51721eefdd1a" /> ## Testing Instructions (or ideally a Blueprint) 1. Download the branch 2. Run the project locally 3. Find the language dropdown on the top-right 4. Switch the language documentation
1 parent 625fa8b commit 9262f1f

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

packages/docs/site/docusaurus.config.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,21 +167,16 @@ const config = {
167167
label: 'API Reference',
168168
position: 'left',
169169
},
170-
// {
171-
// href: 'https://playground.wordpress.net/gutenberg.html',
172-
// label: 'Gutenberg PR Previewer',
173-
// position: 'right',
174-
// },
175170
{
176171
href: 'https://github.com/WordPress/wordpress-playground',
177172
position: 'right',
178173
className: 'header-github-link',
179174
'aria-label': 'GitHub repository',
180175
},
181-
// {
182-
// type: 'localeDropdown',
183-
// position: 'right',
184-
// },
176+
{
177+
type: 'localeDropdown',
178+
position: 'right',
179+
},
185180
],
186181
},
187182
footer: {

packages/docs/site/i18n/gu/docusaurus-plugin-content-blog/options.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)