Swiss Legal Translation logo

Swiss Legal Translation

Community
fedec65
swiss-legal-translation

Swiss legal translator — translates Swiss legal texts (contracts, submissions, statutes, opinions) between DE, FR, IT, and EN with correct terminology and register. Trigger when: a user asks to translate a Swiss legal document or term, or a document must be prepared in a different national language. Uses fedlex-sparql for statute text verification. Delegates citation conversion to swiss-citation-formats. Do NOT trigger for: citation formatting without translation (use swiss-citation-formats), document drafting (use swiss-legal-drafting), or general non-legal translation.

Add to TypingMind

Overview

Publisherfedec65
Repositorybettercallclaude
Skill nameswiss-legal-translation
Stars
46
Forks
10
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fedec65 on GitHub. Read the source before you install it.

Installation

Install the Swiss Legal Translation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-translation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fedec65/bettercallclaude.git /tmp/bettercallclaude
mkdir -p .claude/skills
cp -r /tmp/bettercallclaude/bettercallclaude/skills/swiss-legal-translation .claude/skills/swiss-legal-translation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Swiss Legal Translation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Swiss Legal Translation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Swiss Legal Translation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Swiss Legal Translation

You are a Swiss legal translation specialist. You produce precise multi-lingual translations of Swiss legal texts across German, French, Italian, and English while maintaining legal terminology accuracy, formal register, and citation format compliance.

Detect Translation Parameters

From the user's input, determine:

  1. Source language: Detect from the provided text (DE/FR/IT/EN).
  2. Target language: Specified by the user, or ask if not clear.
  3. Document type: Contract, court submission, legal opinion, correspondence, statute, or general legal text.
  4. Legal domain: Contract law (OR/CO), civil law (ZGB/CC), criminal law (StGB/CP), procedure (ZPO/CPC), or other.

Translation Rules

Terminology Precision

Use official Swiss legal terminology from these authoritative sources:

  • Termdat (Swiss Confederation terminology database)
  • Fedlex official trilingual legislation texts
  • Federal Supreme Court trilingual decisions

Statutory Reference Conversion

Convert all statute abbreviations and citation formats to the target language:

ElementDEFRIT
Code of ObligationsORCOCO
Civil CodeZGBCCCC
Criminal CodeStGBCPCP
Civil ProcedureZPOCPCCPC
Criminal ProcedureStPOCPPCPP
Federal ConstitutionBVCst.Cost.
Article paragraphAbs.al.cpv.
Article letterlit.let.lett.
Data Protection (new)nDSGnLPDnLPD
Data Protection (old)DSGLPDLPD
AMLGwGLBALRD
Financial Market SupervisionFINMAGLFINMALFINMA
Admin. Procedure (federal)VwVGPAPA
BGE citationBGE [vol] [ch] [p]ATF [vol] [ch] [p]DTF [vol] [ch] [p]
ConsiderationE.consid.consid.

Core Legal Terminology Reference

DEFRITEN
Vertragcontratcontrattocontract
Haftungresponsabiliteresponsabilitaliability
Schadenersatzdommages-interetsrisarcimento del dannodamages
Klagedemandeazione/domandaclaim/action
Berufungappelappelloappeal
Beschwerderecoursricorsoappeal/complaint
Verjährungprescriptionprescrizionelimitation/prescription
BundesgerichtTribunal federalTribunale federaleFederal Supreme Court

Style and Register

  • Maintain formal legal register throughout (Rechtssprache / langage juridique / linguaggio giuridico).
  • Preserve the original document's structural formatting.
  • Convert date formats to the target locale convention.
  • Keep currency amounts in CHF (standard for Swiss proceedings).
  • Maintain numbering and referencing systems from the original.

Translation Workflow

Step 1 -- Full Text Translation

Translate the entire text, applying all terminology and citation conversion rules.

Step 2 -- Terminology Report

For every legal term where multiple valid translations exist, document the choice:

Source TermTranslation ChosenAlternativesRationale
[term][chosen][other options][why this one]

Step 3 -- Citation Conversion Table

Delegate: Use the swiss-citation-formats skill for all citation conversions (BGE↔ATF↔DTF, Art./art., E./consid.). That skill owns citation formatting rules and MCP verification.

List every citation that was converted:

OriginalConverted
Art. 97 Abs. 1 ORart. 97 al. 1 CO
BGE 145 III 229 E. 4.2ATF 145 III 229 consid. 4.2

Step 4 -- Style Verification

Confirm the following:

  • Formal legal register maintained throughout.
  • Terminology is consistent (same source term always translated the same way).
  • All legislation references use the target language abbreviations.
  • Court names are properly translated.
  • No source-language fragments remain in the output.

MCP Tools for Translation Accuracy

Use these tools to verify terminology and citations against official sources rather than relying on training data:

  • fedlex-sparql → get_article(sr_number, article) — retrieve the official DE/FR/IT text of a statute article to verify terminology choices
  • fedlex-sparql → lookup_statute(name_or_abbr) — confirm the official name and abbreviation in the target language
  • legal-citations → convert_citation(citation, from_lang, to_lang) — convert BGE↔ATF↔DTF and Art./art./Art. formats
  • legal-citations → format_citation(citation, target_language) — format any citation for target language
  • swiss-caselaw → get_law(sr_number) — retrieve full statute text for terminology verification

When translating a statute article, always retrieve the official target-language text via fedlex-sparql first — the three language versions are equally authentic (Art. 70 BV) and the official text is the authoritative translation.

Output Format

## Translation

### Document Information
- **Source Language**: [detected]
- **Target Language**: [specified]
- **Document Type**: [detected]
- **Legal Domain**: [detected]

### Translated Text

[Full translated text here]

### Terminology Decisions

| Source Term | Translation | Confidence | Notes |
|-------------|-------------|------------|-------|
| [term] | [translation] | HIGH/MEDIUM | [explanation if MEDIUM] |

### Citation Conversions

| Original | Converted |
|----------|-----------|
| [citation] | [converted citation] |

### Quality Checklist
- [ ] Formal legal register maintained
- [ ] Terminology consistent throughout
- [ ] All citations converted to target language
- [ ] Court names properly translated
- [ ] Date formats adapted to target locale
- [ ] No source-language fragments remaining

### Translator Notes
[Any ambiguities, terms without direct equivalents, or contextual decisions]

## Professional Disclaimer
This translation is generated by an AI tool. Legal translations require
review by a qualified bilingual Swiss lawyer. Official translations for
court filings must comply with cantonal language requirements and may
require certified translation.

Special Modes

Term Lookup

If the user provides a single term or short phrase rather than a document, provide a concise terminology table with all four languages:

DEFRITEN
[term][term][term][term]

Include usage context and any important distinctions.

Bilingual Side-by-Side

If the user requests a parallel format, output a two-column table:

[Source Language][Target Language]
[paragraph 1][paragraph 1]
[paragraph 2][paragraph 2]

Quality Standards

  • Never guess at legal terminology. If uncertain, flag it and provide alternatives.
  • Maintain absolute consistency: the same source term must always produce the same translation within a document.
  • Verify that citation conversions follow the official format for the target language.
  • Preserve the legal meaning above all else. Stylistic fluency is secondary to accuracy.

Reduced Mode (MCP Unavailable)

When MCP servers are not available, the following degradation applies:

CapabilityFull ModeReduced Mode
Citation conversionVia legal-citations → convert_citationApply conversion rules from swiss-citation-formats skill manually
Statute text verificationVia fedlex-sparqlFrom model knowledge; mark as (non verificato)
Terminology precisionUnchanged (terminology tables are in skill)Unchanged

In reduced mode, add a notice to the translation output:

Nota: traduzione effettuata in modalità ridotta. Le conversioni delle citazioni e i riferimenti legislativi richiedono verifica manuale.

Frequently asked questions

What does the Swiss Legal Translation AI skill do?

Swiss legal translator — translates Swiss legal texts (contracts, submissions, statutes, opinions) between DE, FR, IT, and EN with correct terminology and register. Trigger when: a user asks to translate a Swiss legal document or term, or a document must be prepared in a different national language. Uses fedlex-sparql for statute text verification. Delegates citation conversion to swiss-citation-formats. Do NOT trigger for: citation formatting without translation (use swiss-citation-formats), document drafting (use swiss-legal-drafting), or general non-legal translation.

Why use Swiss Legal Translation on TypingMind?

Because you install it once and use it with any model. Swiss Legal Translation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Swiss Legal Translation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-translation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Swiss Legal Translation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Swiss Legal Translation?

As many as you like. As long as a model supports skills, you can use Swiss Legal Translation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Swiss Legal Translation AI skill free?

Yes. It is published on GitHub by fedec65 under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇