---
title: "Translation"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/huggingface/translation
markdown: https://docs.nodetool.ai/nodes/huggingface/translation.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/huggingface/translation.md
---

# Translation

**Type:** `huggingface.Translation`

**Namespace:** `huggingface`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| model | `str` | Translation model repo id (e.g. facebook/nllb-200-distilled-600M, Helsinki-NLP/opus-mt-en-fr). | `facebook/nllb-200-distilled-600M` |
| inputs | `str` | The text to translate. | `` |
| src_lang | `str` | Optional source language code for multilingual models (e.g. eng_Latn). | `` |
| tgt_lang | `str` | Optional target language code for multilingual models (e.g. fra_Latn). | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [huggingface](./) namespace.
