---
slug: ./Translation
title: "Translation"
sidebar_label: "Translation"
description: "Kotlin binding reference: Translation."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[Translation](index.md)/[Translation](Translation.md)

# Translation

[common]\
constructor(text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), sourceTokens: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), generatedTokens: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), stoppedAtBudget: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html))