# generaltranslation: General Translation Core SDK: VariableType URL: https://generaltranslation.com/en-US/docs/core/types/variable-type.mdx --- title: VariableType description: Enumeration of variable formatting types for dynamic content translation --- ## Overview `VariableType` specifies how variables are formatted in translated content. ```typescript type VariableType = 'v' | 'n' | 'd' | 'c'; ``` ## Values | Value | Description | |-------|-------------| | `'v'` | Plain text substitution | | `'n'` | Number formatting | | `'d'` | Date formatting | | `'c'` | Currency formatting | ## Examples ### Basic usage ```typescript copy import { Variable, VariableType } from 'generaltranslation'; const textVar: Variable = { k: 'name', v: 'v' }; const numberVar: Variable = { k: 'count', v: 'n' }; const dateVar: Variable = { k: 'date', v: 'd' }; const currencyVar: Variable = { k: 'price', v: 'c' }; ``` ## Related types * [`Variable`](/docs/core/types/Variable) - Parent type using VariableType