On this page:
get-message-formatter
get-localized-string
run+  print-subprogram
8.12

25 Localization🔗ℹ

 (require denxi/l10n) package: denxi

denxi/l10n uses messages to communicate with the user according to the value of (system-language+country). Currently, the only supported locale is en-US.

Returns a message formatter for translating messages to strings in the user’s locale.

procedure

(get-localized-string sym)  string?

  sym : symbol?
Returns a string for the user’s locale.

procedure

(run+print-subprogram l)  any/c

  l : subprogram?
Returns the first value from (run-subprogram l).

Before returning control, each message M from run-subprogram is printed using

(write-message M (get-message-formatter) (current-output-port))