Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

translation-screenshots

Skill by chromium

Guides Chromium contributors through adding translation screenshots for new or changed strings in .grd and .grdp files. It covers capturing UI images, uploading them with upload_screenshots.py, and staging the resulting .png.sha1 hashes.

  • Score 89
  • 25k stars
  • BSD-3-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install translation-screenshots

Built from the published package, never by AI.

git clone --depth 1 https://github.com/chromium/chromium /tmp/chromium && mkdir -p ~/.claude/skills && cp -r /tmp/chromium/agents/skills/translation-screenshots ~/.claude/skills/translation-screenshots

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install translation-screenshots in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The translation-screenshots skill guides an agent through adding translation screenshots to a Chromium change. It finds new or updated translatable strings in .grd and .grdp resource files, explains how to capture UI screenshots with enough surrounding context, and gives the expected file path for each message. It also covers accessibility labels and the is_accessibility_with_no_ui exemption for strings with no UI.

Screenshots are uploaded to a Google Cloud Storage bucket with tools/translation/upload_screenshots.py, which writes a .png.sha1 hash file. The skill then covers staging the hash, removing the raw .png so it is not committed, and checking that the hash is valid. It is written for Chromium contributors who add or change user-facing strings.

Written from the project's SKILL.md and checked against it.

What it can do

  • Find changed stringsLists modified or added translatable messages in .grd and .grdp files on a branch.
  • Screenshot framing guidanceExplains capture rules for context, tooltips, menus, and accessibility labels.
  • Screenshot path mappingDerives the target directory and filename for each message name.
  • Upload with upload_screenshots.pyRuns a dry run and then uploads screenshots to a Google Cloud Storage bucket.
  • Hash staging and cleanupStages the .png.sha1 file, removes the raw .png, and checks git status.
  • Accessibility string handlingCovers desc hints and the is_accessibility_with_no_ui attribute for non-rendered strings.

What you need

  • A Chromium source checkout
  • Python 3
  • Network access to gs://chromium-translation-screenshots
  • A @google.com account for uploads
  • gsutil, used by the upload script

Try asking

  • Find translatable strings changed in the .grd files on this branch
  • Add a translation screenshot for my new IDS_ strings in this change
  • Run the upload_screenshots.py dry run and show what it detects

Good to know

  • Only @google.com accounts have write permissions to the bucket.
  • Uploads need outbound network access, so sandboxed terminals may need to be bypassed.
  • Raw .png files must never be committed to the Chromium repository.
  • Viewing links through go/translation-hash are for Google employees.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agents/skills/translation-screenshots/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • OWNERS19 B
  • README.md2 KB
  • SKILL.md11 KB

Alternatives to translation-screenshots

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

translation-screenshots: common questions

Do I need a screenshot for every translatable string?

The source says strings without translateable="false" need a translation screenshot. Untranslatable strings should not get screenshot hashes.

Can one screenshot cover conditional platform variants?

Yes. The source says the screenshot is keyed to the message name, so one screenshot covers all conditional branches that share that ID.

What is the .sha1 file for?

The upload script writes a file named after the message containing the 40-character SHA-1 checksum of the screenshot. That hash file is what gets staged and committed.

How do I install translation-screenshots?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is translation-screenshots free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is translation-screenshots safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to translation-screenshots?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

translation-screenshots Install

Add to stack

Loading.