vibe.d beta banner
get vibe.d
0.7.31

Function translate

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

string translate(TRAITS...) (
  string text
);

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.

Authors
Copyright
License