Skip to content
Back to skills

Omnistudio Multi Language

ASecurity

Localize OmniScripts, FlexCards, and DataRaptors using Label-based translation, multi-language JSON, and locale-aware number/date formatting. NOT for Salesforce Translation Workbench alone.

  • 15 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 1, 2026
ai-agentsgospringtesting

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add PranavNagrecha/AwesomeSalesforceSkills --skill omnistudio-multi-language --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omnistudio Multi Language?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omnistudio Multi Language
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pranavnagrecha-omnistudio-multi-language/badge)](https://www.skillsdirectory.com/skills/pranavnagrecha-omnistudio-multi-language)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omnistudio-multi-language
description: "Localize OmniScripts, FlexCards, and DataRaptors using Label-based translation, multi-language JSON, and locale-aware number/date formatting. NOT for Salesforce Translation Workbench alone."
category: omnistudio
salesforce-version: "Spring '25+"
well-architected-pillars:
  - User Experience
triggers:
  - "translate omniscript"
  - "omnistudio multilingual"
  - "flexcard language"
  - "translate dataraptor labels"
tags:
  - omnistudio
  - i18n
  - translation
inputs:
  - "target languages"
  - "OmniScripts/FlexCards in scope"
outputs:
  - "language data JSON + label extraction plan"
dependencies: []
runtime_orphan: true
version: 1.0.0
author: Pranav Nagrecha
updated: 2026-04-28
---

# OmniStudio Multi-Language

OmniStudio stores UI labels inside its JSON; translation happens via a Language Data file per script. FlexCards similarly support labels via the DataRaptor data source. This skill describes the label-extraction workflow, the process for re-exporting Language Data JSONs after every script edit, layout checks for longer translated strings, RTL preview steps, and verifies that number/date formatting respects user locale so a single OmniScript works for every active language without hard-coded English leaking through.

## Adoption Signals

Any OmniStudio deployment for a multi-locale business.

- Required when OmniScript step labels, FlexCard text blocks, or DataRaptor field labels must render per-user locale.
- Required when translation review is governed and translators need exportable artifacts rather than in-org editing.

## Recommended Workflow

1. Export Language Data JSON for each OmniScript/FlexCard; send to translators.
2. Import translated JSONs; verify in each language preview.
3. For DataRaptor label columns: use Translation Workbench custom labels referenced via `{$Label.Foo}` in DR maps.
4. Number/date: rely on browser/user locale via component formatting options, not inline formatting.
5. Regression test: run each script in each language and verify layout (some languages 30% longer).

## Key Considerations

- Label extraction is per-version; re-export on every script change.
- RTL languages reveal layout issues; budget QA time.
- FlexCard static text is not localized via LDJ — use labels.
- Managed-package OmniStudio assets may need vendor coordination.

## Worked Examples (see `references/examples.md`)

- *Four-language deploy* — Global retail
- *Layout regression* — German labels 40% longer

## Common Gotchas (see `references/gotchas.md`)

- **LDJ out of sync** — Missing translations after script edit.
- **Hard-coded strings in FlexCard** — Stay English after translation.
- **RTL broken** — Layout reversed wrong.

## Top LLM Anti-Patterns (full list in `references/llm-anti-patterns.md`)

- Hard-coded static text
- No RTL testing
- Stale LDJ files in source control

## Official Sources Used

- OmniStudio Developer Guide — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/
- OmniStudio for Salesforce — https://help.salesforce.com/s/articleView?id=sf.os_omnistudio_for_salesforce_overview.htm
- OmniScript to LWC OSS — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/os_migrate_from_vf_to_lwc.htm

Files in this skill

  • SKILL.md3.3 KB
  • references/examples.md503 B
  • references/gotchas.md565 B
  • references/llm-anti-patterns.md198 B
  • references/well-architected.md526 B
  • scripts/check_omnistudio_multi_language.py940 B
  • templates/omnistudio-multi-language-template.md552 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…