Translate content: add locale redirects for removed editor/media page - #7116
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
11 tasks
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.
Summary
Completes the locale mirror of PR #7112 (editor docs overhaul) by adding the three missing language-prefixed redirects for the removed
editor/mediapage.Changes
/es/editor/media→/es/editor/pages#add-media,/fr/editor/media→/fr/editor/pages#add-media, and/zh/editor/media→/zh/editor/pages#add-mediatoredirects.json, adjacent to their language blocks and matching the English/editor/mediaredirect.Context
PR #7112 mirrored the editor restructure into es, fr, and zh in the same merge (pages, navigation, anchors, links, and 21 locale redirects are already in place). The audit found one gap: the translated
editor/mediapages existed before the merge and were deleted, but only the English redirect was added. Validation and broken-links checks pass.Note
Low Risk
Documentation-only redirect entries with no runtime or security impact; behavior mirrors an existing English redirect.
Overview
Adds the missing Spanish, French, and Chinese redirects for the retired
editor/mediadoc URL, matching the existing English rule from the editor docs restructure.Each locale path (
/es|fr|zh/editor/media) now forwards to that locale’seditor/pages#add-mediaanchor inredirects.json, alongside the other locale editor redirects. This closes the gap left when translatededitor/mediapages were removed but only/editor/mediawas redirected.Reviewed by Cursor Bugbot for commit c515f73. Bugbot is set up for automated code reviews on this repo. Configure here.