14.1 Getting Direction Strings

To get direction strings, use direction_string:

Function: $string = $converter->direction_string ($direction, $string_type, $context)

Retrieve the $direction (see Directions) string of type $string_type (see Direction Strings). $context is ‘normal’ or ‘string’. See Init File Expansion Contexts: Normal, Preformatted, Code, String, Math. If $context is undef, the ‘normal’ context is assumed. The string will be translated if needed.