Monthly localization engineering tasks for docs site (2026-01)
**[Template copied over from **https://gitlab.com/gitlab-com/localization/docs-site-localization/-/blob/main/.gitlab/issue_templates/monthly-maintenance-tasks.md?ref_type=heads****\****\****\]
Monthly Localization Cleanup Tasks
Every month, after the technical writing team runs their cleanup in /doc, the localization team should follow up with these tasks to keep /doc-locale in sync.
These tasks ensure translation repos stay aligned with source content and prevent build failures.
Setup
First, ensure you have:
- All localization projects cloned locally
- The latest changes from
/docmain branch - Access to run the
docs-i18n-lintpipeline
Expired Redirects
After the TW team removes redirects from /doc, we need to mirror these deletions in /doc-locale.
Check the docs-i18n-lint job for failures - these indicate files that exist in /doc-locale but not in /doc.
Usage:
# Review the failed paths from docs-i18n-lint
# Remove corresponding files from each locale directory
rm /doc-locale/ja-jp/path/to/deleted/file.md
rm /doc-locale/fr-fr/path/to/deleted/file.md
# etc for all locales
Redirects Component
The Redirects component contains a list of all the Redirects files. This allows the GitLab Localization team to distinguish those files in Argo when deciding which ones to translate in the Asset Dashboard. The list of Redirects changes, so this list of files must be updated routinely.
- Download the
list_redirects.shfile from https://gitlab.com/gitlab-com/localization/docs-site-localization/-/snippets/4896711 - Run the file, with the path to the locally cloned repo as the first argument
- The output at the end should say something like "Exported results to .../list_files.txt". Open that file.
- In the event there are no Redirects found, you instead can use a fake path that should never match any file.
- Open the
argo_translation.ymlfile for the specified repo in GitLab - Copy the contents under
= IGNORED PATHS =and replace the Technical Documentation component'signored_pathsunder "Redirects" - Copy the contents under
= NEW PATHS FOR COMPONENT =and replace all thepathsfor the "Redirects" component - Create an MR that merges the changes
Sync Validation
After cleanup, run these checks:
- Ensure
docs hugo_buildpasses (confirms no broken redirects) - Verify
docs-i18n-lintpasses (confirms sync with/doc) - Check that English fallback is working for any missing translations