Skip to main content
Version: 5.x.x


By default, Tolgee doesn't format translations. Use formatters if you want to use variable parameters in your translations.

Simple formatter

FormatSimple plugin if you just need to include variables in your translations. It is very minimalistic, only intended to interpolate your parameters and save your bundle size.

import { FormatSimple } from '@tolgee/web';

Icu formatter

For advanced formatting functionality install FormatIcu plugin, which is shipped in separate package.

npm install @tolgee/format-icu

Use it like this:

import { FormatIcu } from '@tolgee/format-icu';


Read more about ICU message format