Skip to main content
Version: 5.x.x


Formating is a way how to render translation into a final string, with variable parameters. Formatters are supported in form of plugin.

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