vibe.d beta banner
get vibe.d
0.7.30

Function translate

Translates a line of text based on the traits passed to the Diet parser.

The input text may contain string interpolations of the form #{...} or !{...}, where the contents form an arbitrary D expression. The translation function is required to pass these through unmodified.

Prototype

string translate(TRAITS...)(
  string text
);
Authors
Copyright
License