Hello,
I'm looking for a way to internationalize a software developped in
Racket, and after took a look on the doc, i read this :
http://docs.racket-lang.org/string-constants/index.html?q=
But it seems to be specific to Drracket, so I thinked about a new way :
Each files has a (require "trad-filename.rkt") that defines all
necessary variables to a text, depending of the system language.
Example (trad-add-contact.rkt)
(provide (except-out (all-defined-out) syslang))
(define syslang (system-language+country))
(define main_msg (case syslang
[("fr_FR") "Bienvenue"]
[("en_US") "Welcome"])
(define add_button ...
...
Tell me if there is a better alternative.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.