translate
Skill: translate
When to Use
Use this skill when the user asks to:
- Translate text to/from another language
- Say something in a different language
- Convert text between languages
- Get a translation of a phrase or document
- Detect the language of text
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
text |
Yes | The text to translate | Hello, how are you? |
to |
Yes | Target language code or name | es, french, zh |
from |
No | Source language (auto-detected if omitted) | en |
Common Language Codes
| Code | Language | Code | Language |
|---|---|---|---|
en |
English | fr |
French |
es |
Spanish | de |
German |
pt |
Portuguese | it |
Italian |
zh |
Chinese | ja |
Japanese |
ko |
Korean | ar |
Arabic |
ru |
Russian | hi |
Hindi |
nl |
Dutch | sv |
Swedish |
Procedure
- Extract the text and target language from the user's request
- Run the bundled script:
With source language:python3 skills/translate/scripts/translate.py "Hello, how are you?" --to espython3 skills/translate/scripts/translate.py "Bonjour" --from fr --to en - The script auto-installs
deep-translatorif needed - Report the translation to the user
Bundled Scripts
| Script | Type | Description |
|---|---|---|
scripts/translate.py |
Python | Translate text between languages |
Script Usage
# Translate to Spanish (auto-detect source)
python3 scripts/translate.py "Hello, how are you?" --to es
# Translate from French to English
python3 scripts/translate.py "Bonjour le monde" --from fr --to en
# Translate to Japanese
python3 scripts/translate.py "Good morning" --to ja
Example
translate "hello world" to spanish
how do you say "thank you" in japanese
translate this to french: "the meeting is at 3pm"
what does "bonjour" mean in english
More from dalehurley/phpbot
desktop-control
Control the mouse, keyboard, and read screen content via accessibility. Use this skill when the user asks to click somewhere on screen, type text into an app, move the mouse, press keyboard shortcuts, read what's on screen, get the accessibility tree of the current window, automate desktop interactions, or control the computer.
39summarize-unread-emails
Retrieve and summarize all unread emails from your inbox, organized by category, sender, and date. Use this skill when the user asks to summarize unread emails, get an overview of unread messages, organize inbox emails, or review pending email communications. Provides a structured summary with categorization and timeline analysis.
20open-application
Open or launch applications on your computer by name. Use this skill when the user asks to open, launch, or start an application like Mail, Finder, Safari, Chrome, or any other installed macOS application. Works with both built-in and third-party applications.
10homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10csv-tools
Parse, query, filter, sort, transform, and summarize CSV and JSON data files. Use this skill when the user asks to view a CSV, filter data, get statistics from a data file, convert CSV to JSON or vice versa, sort data, or analyze tabular data.
9get-weather-forecast
Retrieve current weather conditions and multi-day forecasts for any location using the wttr.in API. Use this skill when the user asks for weather information, weather forecast, current conditions, temperature, or weather updates for a specific city or location. Provides detailed weather data including temperature, wind, precipitation, and visibility.
8