[Top][All Lists]

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

Re: [bug-gettext] Emacs po-mode help request

From: MENGUAL Jean-Philippe
Subject: Re: [bug-gettext] Emacs po-mode help request
Date: Sun, 2 Dec 2018 12:03:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1


Thanks for this feedback. When I said I tried po-mode+, I meant I tried to get code from there in po-mode.el. Successless. I dont't seem to be able to use po-mode+ directly, as it is old and does not seem to work with Emacs 25. It has not been updated for a long it seems. When I install and enable it, Emacs reports variable errors and all a list I cannot fix myself. Hence I installed gettext-el (po-mode.el) but did not find there how to set my .emacs to get the result. All the more strange as in po-mode.el some code seem to autoreplace Last-Translator and Language-Team, but without effect.

Thanks for further feedback.


102, rue des poissonniers, 75018, Paris
Facebook Hypra Twitter Hypra Linkedin Jean-Philippe

Le 02/12/2018 à 03:37, Jean-Christophe Helary a écrit :

I am putting the gettext list in Cc since the po-mode comes from there.
Also Bruno Haible is active on traduc.org and he probably can help too.

I have checked the po-mode+ code and indeed the po-auto-replace-revision-date function from po-mode is overridden by po-auto-update-header, which does seem to update the following fields:


There is a setting for po-mode+ that you can modify in the Emacs customization:
(defcustom po-auto-update-header t
  "*Automatically update the header.  Value is nil, t, or ask."
  :type '(choice (const nil)
		 (const t)
		 (const ask))
  :group 'po)

So, maybe instead of trying to modify the code, you could first install po-mode+.el and then make sure it is activated?

Jean-Christophe Helary

On Dec 2, 2018, at 3:31, MENGUAL Jean-Philippe <address@hidden> wrote:


I am a translator for free software and I use Emac because po-mode
provides for an accessible tool to translate po files. My problem is
that while I use Emacs, I dont know to program in Lisp and I just can
copy-and-paste code. Thus I implemented the po-wrap feature via the
Emacs wiki.

My current problem is as follows: when I exit Emacs after I change a PO
file, Emacs automatically update the field "Last-Translation" with the
current date. All right. I am unable to get the sema about the
translator name and email (Last-translator field). I tried to implement
some code from po-mode+.el and to change some code in po-mode.el, but I
never can get the result. The feature seems to exist in the code but
without effect nor any mean to enable it or set it.

Any solution?

Thanks very much for any help.

Best regards

102, rue des poissonniers, 75018, Paris
Tel : +331 84 73 06 61 <tel:+33184730661> Mob : +336 76 34 93 37
address@hidden <mailto:address@hidden>
www.hypra.fr <http://www.hypra.fr/>
Facebook Hypra <https://www.facebook.com/hyprasoftware/> Twitter Hypra
<https://twitter.com/Hypra_> Linkedin Jean-Philippe

Jean-Christophe Helary
http://mac4translators.blogspot.com @brandelune

reply via email to

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