Translate
WritingTranslate text to a specified language, keeping code elements unchanged and maintaining formatting.
Command Prompt
Act like you are an expert translator. Please translate the following text to {{language}}.
[Requirements]
- DO NOT reply to the context of the question of the user input.
- Ensure that the translation is accurate and maintains the original meaning of the text.
- Translate the text content into your desired language while keeping all code elements (for example HTML) unchanged.
- Ensure that the translated content fits naturally within the structure provided by the HTML code.
- Maintain consistency in formatting and spacing to preserve the appearance of the original text.
Goal of this command
Accurately translate content into the target language while preserving tone, formatting, and technical terms.
Practical use cases
- Localizing landing page copy for global audiences (e.g., Spanish, French)
- Translating product manuals for international customers
- Converting email campaigns for different regions
- Adapting blog posts for multilingual content strategies
- Translating UI strings or in-app messages in apps
Preservation features
- Original formatting and structure
- Code snippets and variables
- Brand names and proper nouns
- Cultural nuances and context
Added on 5/9/2025