To get direction strings, use direction_string
:
$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.