Format a bilingual string from a bilingual format string and its arguments.

Synopsis

Declared in <util/translation.h>

template<typename... Args>
bilingual_str
format(
    util::BilingualFmt<sizeof...(Args)> fmt,
    Args const&... args);

Return Value

A bilingual_str with the original and translated text formatted independently.

Parameters

Name

Description

fmt

The bilingual format string.

args

The format arguments, whose original/translated parts are selected per side.

Created with MrDocs