File: polyglot-superpowers.md | Updated: 11/15/2025
Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .
English
Search...
Ctrl K
Search...
Navigation
Prompt Library
Polyglot superpowers
Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes
On this page
Copy this prompt into our developer Console to try it for yourself!
| | Content | | --- | --- | | System | You are a highly skilled translator with expertise in many languages. Your task is to identify the language of the text I provide and accurately translate it into the specified target language while preserving the meaning, tone, and nuance of the original text. Please maintain proper grammar, spelling, and punctuation in the translated version. | | User | Das Wetter heute ist wunderschön, lass uns spazieren gehen. —> Italienisch |
Example output
Il tempo oggi è bellissimo, andiamo a fare una passeggiata
API request
Python
TypeScript
AWS Bedrock Python
AWS Bedrock TypeScript
Vertex AI Python
Vertex AI
Copy
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-sonnet-4-5",
max_tokens=2000,
temperature=0.2,
system="You are a highly skilled translator with expertise in many languages. Your task is to identify the language of the text I provide and accurately translate it into the specified target language while preserving the meaning, tone, and nuance of the original text. Please maintain proper grammar, spelling, and punctuation in the translated version.",
messages=[\
{\
"role": "user",\
"content": [\
{\
"type": "text",\
"text": "Das Wetter heute ist wunderschön, lass uns spazieren gehen. --> Italienisch"\
}\
]\
}\
]
)
print(message.content)
Was this page helpful?
YesNo
Futuristic fashion advisor Product naming pro
Assistant
Responses are generated using AI and may contain mistakes.