emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i18n/l10n summary


From: Eli Zaretskii
Subject: Re: i18n/l10n summary
Date: Sun, 28 May 2017 18:33:01 +0300

> Date: Sun, 28 May 2017 07:27:10 -0700 (PDT)
> From: Drew Adams <address@hidden>
> 
> Is the idea that something will be done so that, for example,
> `message' automatically uses a translation of the message to
> the user's currently preferred language?  I.e., if that is
> what is planned, isn't it perhaps too systematic - all or
> nothing?
> 
> If so, then perhaps there should be a way to easily, from
> Lisp, specify the target language explicitly - e.g. by an
> optional `message' argument or (better, because the scope
> is controllable without changing the `message' calls) by
> binding a variable.

  (let ((current-language-environment "FOO"))
    (message "FOOBAR"))

> And in that case, there should perhaps be a user option
> that overrides such a language choice by Lisp code.

  M-x set-language-environment RET



reply via email to

[Prev in Thread] Current Thread [Next in Thread]