[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs i18n
From: |
Richard Stallman |
Subject: |
Re: Emacs i18n |
Date: |
Thu, 07 Mar 2019 23:07:20 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> (let* ((field (get-char-property pos 'field))
> (button (get-char-property pos 'button))
> (doc (get-char-property pos 'widget-doc))
> (text (cond (field "This is an editable text area.")
> (button "This is an active area.")
> (doc "This is documentation text.")
> (t "This is unidentified text.")))
> (widget (or field button doc)))
> (when widget
> (widget-browse widget))
> (message text)))
We would need to make SOME sort of change in it, but change could be
very simple. It could consist of writing a call to 'translate' around
each of those string constants.
Or we might adopt a reader syntax for translatable strings.
That might be convenient, since we want these to be found
by tools processing the code, not solely handled by
executing the code.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: Emacs i18n (was: bug#34520: delete-matching-lines should report how many lines it deleted), (continued)
- Re: Emacs i18n (was: bug#34520: delete-matching-lines should report how many lines it deleted), Paul Eggert, 2019/03/04
- Re: Emacs i18n (was: bug#34520: delete-matching-lines should report how many lines it deleted), Eli Zaretskii, 2019/03/04
- Re: Emacs i18n (was: bug#34520: delete-matching-lines should report how many lines it deleted), Paul Eggert, 2019/03/04
- Re: Emacs i18n, Juri Linkov, 2019/03/05
- Re: Emacs i18n, Richard Stallman, 2019/03/05
- Re: Emacs i18n, Eli Zaretskii, 2019/03/06
- Re: Emacs i18n, Paul Eggert, 2019/03/06
- Re: Emacs i18n, Eli Zaretskii, 2019/03/06
- Re: Emacs i18n, Paul Eggert, 2019/03/06
- Re: Emacs i18n, Eli Zaretskii, 2019/03/06
- Re: Emacs i18n,
Richard Stallman <=
- Re: Emacs i18n, Eli Zaretskii, 2019/03/08
- Re: Emacs i18n, Richard Stallman, 2019/03/07
- Re: Emacs i18n, Elias MÃ¥rtenson, 2019/03/07
- Re: Emacs i18n, Eli Zaretskii, 2019/03/08
- Re: Emacs i18n, Richard Stallman, 2019/03/08
- Re: Emacs i18n, Paul Eggert, 2019/03/09
- Re: Emacs i18n, Eli Zaretskii, 2019/03/09
- Re: Emacs i18n, Richard Stallman, 2019/03/09
- Re: Emacs i18n, Paul Eggert, 2019/03/10
- Re: Emacs i18n, Richard Stallman, 2019/03/10