---
library: "bootstrap"
slug: "TranslationProxy"
name: "TranslationProxy"
ref: "TranslationProxy#1db2"
hash: "sema:TranslationProxy#mh:SHA-256:1db28b5e69a017012cdbdbe4355c97fba4dcd8e3522a82f9eb9dc5613bc293af"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/TranslationProxy"
---

# TranslationProxy

Protocol adaptation wrapper

Society · Protocols

## Mechanism

A stateless agent that wraps a legacy system. It intercepts 'modern' agent signals, uses [Translate](https://semahash.org/vocabularies/bootstrap/patterns/Translate.md) to convert them into legacy [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) API calls, and translates responses back. It acts as a 'spacesuit' for the legacy system. Utilizes [OntologyHandshake](https://semahash.org/vocabularies/bootstrap/patterns/OntologyHandshake.md) and [Compare](https://semahash.org/vocabularies/bootstrap/patterns/Compare.md) to verify semantic fidelity.

## Invariants

- Semantic meaning preserved across languages/ontologies
- Type safety maintained

## Signature

- Translate(Protocol)

## Preconditions

- [Message](https://semahash.org/vocabularies/bootstrap/patterns/Message.md) M in [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) A
- Target [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) B

## Postconditions

- [Message](https://semahash.org/vocabularies/bootstrap/patterns/Message.md) M' in [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) B

## Failure modes

- Lossy translation.

## Where this came from

—

## Builds on

- [Compare](https://semahash.org/vocabularies/bootstrap/patterns/Compare.md) (references)
- [OntologyHandshake](https://semahash.org/vocabularies/bootstrap/patterns/OntologyHandshake.md) (references)
- [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) (references)
- [Message](https://semahash.org/vocabularies/bootstrap/patterns/Message.md) (references)
- [Translate](https://semahash.org/vocabularies/bootstrap/patterns/Translate.md) (references)

## Used by

- [MemeticSeed](https://semahash.org/vocabularies/bootstrap/patterns/MemeticSeed.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: TranslationProxy#1db2
- Hash: sema:TranslationProxy#mh:SHA-256:1db28b5e69a017012cdbdbe4355c97fba4dcd8e3522a82f9eb9dc5613bc293af

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/TranslationProxy
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/TranslationProxy.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
