Skip to content

a5c-ai/babysitter / library/specializations/desktop-development/skills/qt-translation-workflow

qt-translation-workflow

Verified

Set up Qt Linguist workflow with .ts files, lupdate/lrelease integration, and translation management

FileKindSize
README.mdmarkdown1.2 KB
SKILL.mdskill md7.0 KB
# qt-translation-workflow

Set up Qt Linguist workflow with .ts files and translation management.

## Overview

This skill configures the complete Qt internationalization pipeline, including string extraction with lupdate, translation file management, and .qm compilation with lrelease.

## Quick Start

```javascript
const result = await invokeSkill('qt-translation-workflow', {
  projectPath: '/path/to/qt-project',
  languages: ['de', 'fr', 'ja', 'zh-CN'],
  sourceLanguage: 'en',
  translationDir: 'translations',
  includeQml: true,
  generateCMake: true
});
```

## Features

### Workflow Steps

1. Mark strings with `tr()` / `qsTr()`
2. Extract with `lupdate`
3. Translate in Qt Linguist
4. Compile with `lrelease`
5. Load at runtime

### Generated Files

| File | Purpose |
|------|---------|
| translations/*.ts | Translation source files |
| translations/*.qm | Compiled translations |
| CMakeLists.txt | CMake integration |

## Commands

```bash
# Extract strings
lupdate src/ qml/ -ts translations/*.ts

# Compile
lrelease translations/*.ts

# Edit
linguist translations/myapp_de.ts
```

## Related Skills

- `qt-cmake-project-generator`
- `docs-localization`

## Related Agents

- `qt-cpp-specialist`
- `localization-coordinator`
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall