# General Translation Changelog: gt-node 0.6.0: Traduzione runtime con tx()
URL: https://generaltranslation.com/it/blog/gt-node_v0_6_0.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: 
Authors: Ernest McCarter
Published: 2026-04-14

## Panoramica

`gt-node` ora include [`tx()`](/docs/node/reference/functions/tx), una funzione per tradurre stringhe a runtime. Passa qualsiasi stringa a [`tx()`](/docs/node/reference/functions/tx) e ottieni una versione tradotta, senza bisogno di alcun passaggio di build.

Questo rende possibile la traduzione lato server di contenuti dinamici: testo generato dagli utenti, valori del database, risposte API o qualsiasi altro contenuto non noto in anticipo.

## Uso

### Di base

```js
import { tx } from 'gt-node';

const translated = await tx('Processing complete');
```

### Con variabili

```js
const translated = await tx('Hello, {name}!', { name: 'María' });
```

### Specificare l&#39;impostazione regionale

```js
const status = await tx('Order shipped', { $locale: 'ja' });
```

## Link

* [PR #1207](https://github.com/generaltranslation/gt/pull/1207)

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
