Xinglu Chen schreef op do 02-09-2021 om 16:59 [+0200]: > On Thu, Sep 02 2021, Andrew Tropin wrote: > [...] > > + (define config > > + #~(begin > > + (use-modules (srfi srfi-34) > > + (system repl error-handling)) > > + (apply > > + register-services > > + (map > > + (lambda (file) (load file)) > > + '#$files)) > > + (action 'root 'daemonize) > > + (format #t "Starting services...~%") > > Maybe (G_ ...) should be used to make strings translatable? AFAIK (G_ ...) cannot be used from within a G-exp. However, you could do: #~(begin ... (format #t #$(G_ "Starting services...~%"))) but that would make "shepherd.conf" depend on the locale that was active when "guix home ..." (*) was run, which may or may not be acceptable. (*) not sure what the exact command is. Alternatively, it might be possible to build the .mo from the .po translations and use bindtextdomain from the G-exp, in which case the G_ should be usable from the G-exp. Greetings, Maxime.