From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Translating 'Table of Contents' string on exports Date: Thu, 06 Nov 2014 19:26:01 +0100 Message-ID: <87ppd0qj7q.fsf@nicolasgoaziou.fr> References: <20141106170954.GA5902@watter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmRkF-0007xb-IM for Emacs-orgmode@gnu.org; Thu, 06 Nov 2014 13:25:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmRk8-0001Fe-OZ for Emacs-orgmode@gnu.org; Thu, 06 Nov 2014 13:25:19 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:42319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmRk8-0001FL-JM for Emacs-orgmode@gnu.org; Thu, 06 Nov 2014 13:25:12 -0500 In-Reply-To: <20141106170954.GA5902@watter.org> (Leslie Harlley Watter's message of "Thu, 6 Nov 2014 15:09:54 -0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leslie Harlley Watter Cc: Emacs-orgmode@gnu.org Hello, Leslie Harlley Watter writes: > I've been trying to translate 'Table of contents' on some exporting metho= ds like HTML, PDF export and beamer PDF. > > Some of my findings let me to ox.el which have org-export-dictionary list. > > Despite having pt_BR terms added to the list and chosen #LANGUAGE as > pt_BR I don't get a successfull change of the term. It should be #+LANGUAGE: pt_BR > Attached is a patch against master to add pt_BR terms to the list. Thank you for the patch. > If somebody could please point me out what I'm missing I would be glad > to send some patches to have the translation working. I think it should work with the advice above, and your patch. However, would you format your commit message according to guidelines at http://orgmode.org/worg/org-contribute.html#unnumbered-10 > + ("pt_BR" :html "Notas de Rodapé" :default "Notas de Rodap=C3= =A9") Since default value is not compatible with plain ASCII export, maybe a specific :ascii entry could be used. > + ("pt_BR" :default "=C3=8Dndice de Tabelas") Ditto. > + ("pt_BR" :html "Veja a seção %s" :default "Veja a se= =C3=A7=C3=A3o %s") Ditto. > ("fr" :ascii "Destination inconnue" :default "R=C3=A9f=C3=A9rence i= nconnue") > + ("pt_BR" :default "Refer=C3=AAncia desconhecida") Ditto. Regards, --=20 Nicolas Goaziou