Agent skill

Update Gui Translations

by ArduPilot in ArduPilot/MethodicConfigurator

Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.

GPL-3.0Auto-check passedWriting & Content

Install Update Gui Translations

skills CLI
$ npx skills add ArduPilot/MethodicConfigurator --skill update-gui-translations -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ArduPilot/MethodicConfigurator update-gui-translations --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ArduPilot/MethodicConfigurator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/update-gui-translations .claude/skills/update-gui-translations && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
update-gui-translations
GitHub stars
166
Token cost
~1.5k tokens
SKILL.md length
624 words
Files
6 (incl. scripts)
Skills in repo
11
Repo updated
First seen
Licence
GPL-3.0

At a glance

Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.

  • Works in 7 steps: Update POT template: Execute python… → Merge new strings: Execute python… → Extract missing translations: Execute… → …
  • Updating .po translation files
  • SKILL.md covers Overview, AI-Assisted Translation Workflow, Translation Guidelines and Troubleshooting
  • Runs Python scripts from its folder; calls python

What it does

Update Gui Translations is an agent skill from ArduPilot/MethodicConfigurator. Update existing GUI translations using AI assistance. Use when updating .po translation files, running createpotfile.py, mergepotfile.py, extractmissingtranslations.py, insertmissingtranslations.py, or createmofiles.py to add missing translated strings to existing languages.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/create_mo_files.py`, `scripts/create_pot_file.py` and `scripts/extract_missing_translations.py`).

It sits in Writing & Content, covering Translation. It works with Python and GitHub. The repository describes itself as: A clear ArduPilot configuration sequence. The licence is GPL-3.0.

When your agent uses it

  • Updating .po translation files
  • Running createpotfile.py
  • Mergepotfile.py
  • Extractmissingtranslations.py

Example prompts

  • “/update-gui-translations”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Update POT template: Execute python .github/skills/update-gui-translations/scripts/create_pot_file.py from the project root.
  2. Merge new strings: Execute python .github/skills/update-gui-translations/scripts/merge_pot_file.py from the project root.
  3. Extract missing translations: Execute python .github/skills/update-gui-translations/scripts/extract_missing_translations.py from the…
  4. Translate strings in-place: Open each missing_translations_.txt file and directly replace the English text with the target language…
  5. Insert translations: Execute python .github/skills/update-gui-translations/scripts/insert_missing_translations.py from the project root.
  6. Compile and validate: Execute python .github/skills/update-gui-translations/scripts/create_mo_files.py from the project root.
  7. Test translations: Run the application with your language to verify the translations appear correctly in the GUI.

What it can do on your machine

Read from SKILL.md and the folder at commit 833844b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Update Gui Translations loads about 1.5k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 624 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ArduPilot/MethodicConfigurator at commit 833844b, republished under its GPL-3.0 licence (© ArduPilot). 624 words, ~1,512 tokens.

Download SKILL.mdSave it as .claude/skills/update-gui-translations/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
update-gui-translations
description
Update existing GUI translations using AI assistance. Use when updating .po translation files, running create_pot_file.py, merge_pot_file.py, extract_missing_translations.py, insert_missing_translations.py, or create_mo_files.py to add missing translated strings to existing languages.

GUI Translation Instructions for ArduPilot Methodic Configurator

See also: GitHub Copilot repository instructions for general project context.

This document provides step-by-step instructions for AI-assisted update of existing ArduPilot Methodic Configurator GUI translations.

Overview

The ArduPilot Methodic Configurator uses GNU gettext for internationalization. All user-facing strings are wrapped with _() function calls and extracted into .pot template files, then translated into language-specific .po files, which are compiled into binary .mo files used by the application.

AI-Assisted Translation Workflow

For Updating Existing Languages
  1. Update POT template: Execute python .github/skills/update-gui-translations/scripts/create_pot_file.py from the project root. This extracts all translatable strings from the source code and updates the .pot template file.

  2. Merge new strings: Execute python .github/skills/update-gui-translations/scripts/merge_pot_file.py from the project root. This merges new strings from the updated .pot file into all existing .po files, adding new untranslated entries.

  3. Extract missing translations: Execute python .github/skills/update-gui-translations/scripts/extract_missing_translations.py from the project root. The script automatically detects all existing languages and creates/updates missing_translations_<lang_code>.txt files in the root directory. Each output file is limited both by the number of untranslated strings and by an approximate character budget to keep AI translation prompts small. If you need tighter control (for example, when working manually with very long strings), you can run python extract_missing_translations.py --max-translations 20 --max-characters 4000 to reduce the chunk size further.

  4. Translate strings in-place: Open each missing_translations_<lang_code>.txt file and directly replace the English text with the target language translation. Follow the translation guidelines defined below.

    CRITICAL: Do NOT create new files. You must edit the original missing_translations_<lang_code>.txt files in-place. The translation files contain lines in the format line_number:English text. You must replace the English text with the translated text, keeping the line number and colon exactly as they are.

    Example:

    text
    Before: 3614:Copy vehicle image from template
    After:  3614:Copiar imagem do veículo do modelo

    Do NOT do this:

    • Creating files with names like missing_translations_<lang_code>_translated.txt
    • Changing the line numbers
    • Removing the colon separator
  5. Insert translations: Execute python .github/skills/update-gui-translations/scripts/insert_missing_translations.py from the project root. The script automatically processes all language files and inserts the translated strings into their respective .po files in ardupilot_methodic_configurator/locale/<lang_code>/LC_MESSAGES/.

    Note: The script processes all languages in a single run, so you only need to execute it once after translating all language files.

  6. Compile and validate: Execute python .github/skills/update-gui-translations/scripts/create_mo_files.py from the project root. This compiles the .po files into binary .mo files and performs partial validation of the translation files.

  7. Test translations: Run the application with your language to verify the translations appear correctly in the GUI.

Show full SKILL.md (224 more words)Show less

Translation Guidelines

String Formatting
  • Preserve placeholders: Keep {variable_name} placeholders intact
  • Context matters: Consider the UI context when translating
  • Length considerations: Some languages are more verbose - ensure UI layout accommodates longer text
Quality Assurance
  1. Consistency: Use consistent terminology throughout
  2. Context: Understand where strings appear in the GUI
  3. Testing: Always test translations in the actual application
  4. Cultural adaptation: Adapt to local conventions, not just literal translation
Language-Specific Guidelines
  • Portuguese (pt): Use European Portuguese (Portugal) conventions, not Brazilian Portuguese
    • Prefer "transferir" over "baixar" for "download"
    • Use "ficheiro" instead of "arquivo" for "file"
    • Use formal register appropriate for technical documentation
    • Follow Portuguese spelling reform standards
    • While "você" is acceptable, consider more formal alternatives when appropriate
Technical Considerations
  • Encoding: Files must be UTF-8 encoded
  • Line endings: Use appropriate line endings for your platform
  • Special characters: Ensure proper handling of accented characters and special symbols

Troubleshooting

Common Issues
  • Script not found: Ensure you're running commands from the project root directory
  • Permission errors: On Linux/macOS, you may need to use python3 instead of python
  • Missing .po files: The language must already exist - this workflow only updates existing translations
  • Encoding issues: Ensure your text editor saves files as UTF-8
  • Validation errors: The create_mo_files.py script performs basic validation and will report syntax errors in .po files
File Locations
  • Source files: missing_translations_<lang_code>.txt (project root)
  • Translation files: ardupilot_methodic_configurator/locale/<lang_code>/LC_MESSAGES/ardupilot_methodic_configurator.po
  • Compiled files: ardupilot_methodic_configurator/locale/<lang_code>/LC_MESSAGES/ardupilot_methodic_configurator.mo

© ArduPilot, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in .github/skills/update-gui-translations of ArduPilot/MethodicConfigurator.

  • SKILL.md
  • scripts/create_mo_files.py
  • scripts/create_pot_file.py
  • scripts/extract_missing_translations.py
  • scripts/insert_missing_translations.py
  • scripts/merge_pot_file.py

Open the folder on GitHubat commit 833844b

Compare with similar skills

Update Gui Translations next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Update Gui Translations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update Gui Translations this skillArduPilot/MethodicConfigurator166—~1.5kAutomated safety check: PassGPL-3.0
Pre ReleaseZhuoZhuoCrayon/throttled-py651—~1.1kAutomated safety check: PassMIT
China Travel Kittczyliu/china-travel-kit194—~1.3kAutomated safety check: PassMIT
Ghostwritersuperzhang21/ghostwriter304—~759Automated safety check: PassCC-BY-NC-ND-4.0
Technology Searchfreestylefly/wesight946—~3.3kAutomated safety check: PassMIT
Ghfsantfu/ghfs275—~1.5kAutomated safety check: PassMIT

Similar skills

  • Pre Release

    ZhuoZhuoCrayon/throttled-py

    Automates release preparation for throttled-py. An agent skill from ZhuoZhuoCrayon/throttled-py.

    651 GitHub stars~1.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • China Travel Kit

    tczyliu/china-travel-kit

    Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.

    194 GitHub stars~1.3k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Ghostwriter

    superzhang21/ghostwriter

    A skill your agent uses when switching AI persona/language style.

    304 GitHub stars~759 tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Technology Search

    freestylefly/wesight

    Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.

    946 GitHub stars~3.3k tokensUpdated 9 days ago
    Writing & ContentAuto-check passed
  • Ghfs

    antfu/ghfs

    Manages ghfs local mirror files in .ghfs/, especially translating user instructions into valid execute operations (execute.md, execute.yml, or per-item edits), running ghfs execute / ghfs sync, and…

    275 GitHub stars~1.5k tokensUpdated 3 mo ago
    Writing & ContentAuto-check passed
  • Translate Po

    python/python-docs-zh-tw

    Official

    Translates PO file entries from English to Traditional Chinese (zhTW) following project conventions.

    284 GitHub stars~793 tokensUpdated yesterday
    Writing & ContentAuto-check passed

More from ArduPilot/MethodicConfigurator

All 11 skills in this repo
  • Add UI Translation

    ArduPilot/MethodicConfigurator

    Add a new translation language to the application. An agent skill from ArduPilot/MethodicConfigurator.

    166 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Architecture Validation

    ArduPilot/MethodicConfigurator

    Validate and update ARCHITECTUREn.md files against actual source code implementation.

    166 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Codebase Analysis

    ArduPilot/MethodicConfigurator

    Analyze the codebase structure and count lines of code by category using cloc.

    166 GitHub stars~2.2k tokensUpdated today
    Auto-check: notes
  • Configuration Steps Reorder

    ArduPilot/MethodicConfigurator

    Add, delete, or re-order configuration steps in configurationsteps.json.

    166 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Pytest Testing

    ArduPilot/MethodicConfigurator

    Write high-quality BDD pytest tests for the ArduPilot Methodic Configurator.

    166 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Sitl Testing

    ArduPilot/MethodicConfigurator

    Set up and run SITL integration tests for backendflightcontroller.py.

    166 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Questions about Update Gui Translations

What does Update Gui Translations do?

Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator. Update Gui Translations is an agent skill from ArduPilot/MethodicConfigurator. Update existing GUI translations using AI assistance.

When should I use Update Gui Translations?

Update Gui Translations fits situations like: updating .po translation files; running createpotfile.py; mergepotfile.py; extractmissingtranslations.py.

How do I install Update Gui Translations in Claude Code?

Run `npx skills add ArduPilot/MethodicConfigurator --skill update-gui-translations -a claude-code`. Or copy the skill folder (.github/skills/update-gui-translations in ArduPilot/MethodicConfigurator) into .claude/skills/update-gui-translations in your project. Claude Code loads it when a task matches its description.

How do I install Update Gui Translations in Codex?

Run `npx skills add ArduPilot/MethodicConfigurator --skill update-gui-translations -a codex`. Or copy the skill folder (.github/skills/update-gui-translations in ArduPilot/MethodicConfigurator) into .agents/skills/update-gui-translations in your project. Codex loads it when a task matches its description.

Can I use Update Gui Translations in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArduPilot/MethodicConfigurator --skill update-gui-translations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-gui-translations, .gemini/skills/update-gui-translations, .github/skills/update-gui-translations and .opencode/skills/update-gui-translations in your project.

What does Update Gui Translations need to run?

Going by SKILL.md and its folder, Update Gui Translations needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Update Gui Translations access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Update Gui Translations safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Update Gui Translations use?

Update Gui Translations is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Update Gui Translations use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update Gui Translations?

Skills that share tags, products or a category with Update Gui Translations: Pre Release (ZhuoZhuoCrayon/throttled-py, 651 stars), China Travel Kit (tczyliu/china-travel-kit, 194 stars), Ghostwriter (superzhang21/ghostwriter, 304 stars) and Technology Search (freestylefly/wesight, 946 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update Gui Translations?

ArduPilot (a GitHub organization) maintains it in ArduPilot/MethodicConfigurator, which has 166 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 11, 2026.

Source: ArduPilot/MethodicConfigurator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.