Translates Shop Builder page copy: hero, buttons, FAQ, section titles and page SEO. Use for "translate the FAQ", "add a language to Shop Builder", "my store is only in English". Catalog and LiveOps text are out of scope. Confirms before any write. Not for building the shop or setting prices.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Shopbuilder Translate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/xsolla-shopbuilder-translate)
---
name: shopbuilder-translate
description: >-
Translates Shop Builder page copy: hero, buttons, FAQ, section titles and page SEO.
Use for "translate the FAQ", "add a language to Shop Builder", "my store is only in
English". Catalog and LiveOps text are out of scope. Confirms before any write. Not
for building the shop or setting prices.
metadata:
owner: s.hossain
domain: store
status: draft
---
# Translate Shop Builder page copy
This skill writes Shop Builder page copy only. Catalog and LiveOps text (items, groups, bundles, currency, promotions, reward chains) are out of scope. Do not translate them here.
The model does the translation. There is no machine-translation service.
Nothing here publishes the site. `--commit` writes the live project named by `XSOLLA_PROJECT_ID`. There is no Shop Builder sandbox. `--commit` does not change the language the shop opens in.
**CLI referrer.** Prefix every `xsolla` command you run with
`XSOLLA_REFERRER="xsolla-ai-kit/<version> (<agent>)"`: `<version>` is the `version` in the
kit's `.claude-plugin/plugin.json`, and `<agent>` is `claude-code`, `codex`, `cursor`,
`gemini-cli` or `other`. Each command gets its own shell, so prefix each one; don't rely on
an `export`. In PowerShell, set `$env:XSOLLA_REFERRER` in the same command. The kit's
scripts set it themselves.
## Before any write
1. Name the target locale in the user's words (`Japanese` → `ja-JP`). Codes are in [references/i18n-support.md](references/i18n-support.md).
2. Ask whether they already have translations. If yes, `scripts/ingest-user-translations.sh`. If no, the model fills the gaps after they confirm the plan.
3. Run `apply.sh` as a dry run and show the plan: locale, what will change, and the dry run's list of existing translations it would replace. Wait for an explicit yes. Then write.
4. Catalog and LiveOps strings are out of scope. Stop. Do not translate them with this skill.
## Page copy
After the storefront exists. Silent failures and the script list: [references/storefront.md](references/storefront.md). Field failures: [references/translation-notes.md](references/translation-notes.md).
```
scripts/preflight.sh
scripts/export-backup.sh <domain> l10n/backup/<timestamp>
scripts/extract.sh en-US ja-JP
scripts/apply.sh <domain> ja-JP # dry run
# explicit yes, then: enable the language and write
scripts/apply.sh <domain> ja-JP --commit --confirm-overwrites
scripts/verify.sh <domain> ja-JP
```
`export-backup.sh` reads the live site with `get-structure` and `get-localization` and writes those two files. It does not change the site. Before any write, the CLI's configured project must match `XSOLLA_MERCHANT_ID` and `XSOLLA_PROJECT_ID`. The scripts read the IDs only from the environment; on the Shop Builder path, set them from `xsolla config list --json` for each run. The slug must also appear in that project's `list-websites` result. `get-structure` is not that check.
`--commit` enables the language with `add-language`, then writes the copy. It runs `add-language` only after the project check, the `list-websites` check and the pre-write export. If the pre-write export already lists the locale, `add-language` is skipped. A 400 with the message "language is taken" is also success. Any other failure stops the run before any copy is written. If the copy write fails after this run enabled the language, the run prints the `delete-language` command for it. Show it to the user. This skill does not run it.
`--commit` blocks when it would replace an existing translation until `--confirm-overwrites`. That list comes from the dry run and is part of the plan, so the yes covers it: pass the flag then, without asking again. `--commit` exports the site again into `l10n/pre-write/` and blocks if the text about to be written changed since extract. A write that returns non-zero fails the run.
The shop opens in the first language of the site language list. This skill does not reorder that list and does not call `delete-language`. If the partner wants the shop to open in the new language, they reorder the list in Publisher Account.
## Out of scope
Catalog and LiveOps text. Prices and regional availability. Legal copy. Text baked into images. Publishing the site. Changing the language the shop opens in.
Files in this skill
SKILL.md3.8 KB
glossary/do-not-translate.txt430 B
glossary/termbase.csv829 B
references/i18n-support.md5.8 KB
references/storefront.md9.5 KB
references/translation-notes.md5.3 KB
scripts/apply.sh20 KB
scripts/export-backup.sh1.2 KB
scripts/extract.sh12.1 KB
scripts/fixtures/baseline/localization.json1.3 KB
scripts/fixtures/baseline/structure.json1.1 KB
scripts/fixtures/fake-xsolla.sh4.3 KB
scripts/fixtures/store-broken/localization.json746 B
scripts/fixtures/store-broken/structure.json78 B
scripts/fixtures/store-good/localization.json817 B