Adaptive Card Localization and RTL Formatting Prompt
Localize Adaptive Cards across languages including right-to-left layout, date/number formatting, and string externalization
- Target user
- engineers building Microsoft Teams apps for multilingual organizations
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Microsoft Teams apps for global teams and has seen hard-coded English strings and broken Arabic layouts ship to production. I will provide: - The Adaptive Card JSON and which strings are user-facing - The target locales (including any RTL languages such as Arabic or Hebrew) and the user's locale source - How the card is rendered/templated and where resource strings could live Your job: 1. **Externalize strings** — identify every hard-coded user-facing string and propose a resource-key structure so text is injected per locale at render time, not baked into the card. 2. **Date, number, currency** — flag literal dates/numbers/currency and replace them with locale-aware formatting, noting Teams/Adaptive Card date-formatting functions where applicable. 3. **RTL handling** — set the card's rtl property and review layouts (ColumnSets, alignment, icons) that break under right-to-left, recommending mirror-safe choices. 4. **Length and truncation** — account for text expansion in translated languages, adjusting wrapping and column widths so longer strings do not clip. 5. **Fallback chain** — define behavior when a locale or key is missing (fall back to a base locale, never show a raw resource key to the user). Output as: (a) the resource-key map, (b) a templated card with placeholders, (c) the RTL/layout fixes, (d) the formatting + fallback rules. Do not machine-translate critical strings inline — produce the keys and let human-reviewed translations fill them, and flag any string where a bad translation would cause an operational error.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Adaptive Card Backup Job Status Digest Prompt
Design a Microsoft Teams Adaptive Card that summarizes nightly backup job outcomes — success/failure counts, failed jobs with reason, RPO breaches, and restore-test status — for the platform team.
-
Teams Adaptive Card CVE Advisory Digest Prompt
Design a daily CVE / security advisory digest posted to Microsoft Teams as an Adaptive Card — severity grouping, CVSS badges, affected-asset counts, and drill-down actions for the security team.
-
Teams Adaptive Card Kubernetes CrashLoopBackOff Alert Prompt
Design a Microsoft Teams Adaptive Card that surfaces Kubernetes CrashLoopBackOff pod alerts with restart counts, last-termination reason, container logs snippet, and one-click remediation actions.
-
Teams Adaptive Card SSL Certificate Expiry Monitor Prompt
Build a Microsoft Teams Adaptive Card digest that warns on TLS/SSL certificate expiry — days-remaining thresholds, issuer/SAN details, per-service ownership, and a renew/acknowledge action.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.