From mboxrd@z Thu Jan 1 00:00:00 1970 From: tumashu Subject: Re: [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp Date: Mon, 19 Mar 2012 13:47:51 +0800 Message-ID: <878vixta48.fsf@gmail.com> References: <87limyo792.fsf@gmail.com> <87mx7dn64s.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9VQy-0000W9-EK for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 01:47:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9VQw-00059h-Cz for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 01:47:08 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:43932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9VQw-00057i-4g for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 01:47:06 -0400 Received: by iajr24 with SMTP id r24so10740086iaj.0 for ; Sun, 18 Mar 2012 22:47:03 -0700 (PDT) In-Reply-To: <87mx7dn64s.wl%dmaus@ictsoc.de> (David Maus's message of "Sun, 18 Mar 2012 18:58:11 +0100") 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: emacs-orgmode@gnu.org Today, I test Simplified Chinese(UTF-8) translation for org-exp.el again, I find that "zh_CN" is used by *xml:lang* and *lang* #+begin_example #+end_example It should be: #+begin_example #+end_example [[http://www.w3.org/International/articles/bcp47/]]=20 -------------------------------------------------------- Changes in master Modified lisp/org-exp.el diff --git a/lisp/org-exp.el b/lisp/org-exp.el index a2f0cfc..3f52be0 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -205,8 +205,8 @@ This option can also be set with the +OPTIONS line, e.g= . \"-:nil\"." ("ru" "Автор" "Дат= ;а" "Содержани= е" "Сноски") ("sv" "Författare" "Datum" "Innehåll" "Fotnoter") ;; Use numeric character entities for proper rendering of non-UTF8 doc= uments - ;; ("zh_CN" "=E4=BD=9C=E8=80=85" "=E6=97=A5=E6=9C=9F" "=E7=9B=AE=E5=BD= =95" "=E8=84=9A=E6=B3=A8") - ("zh_CN" "作者" "日期" "目录" "= 3050;注")) + ;; ("zh-CN" "=E4=BD=9C=E8=80=85" "=E6=97=A5=E6=9C=9F" "=E7=9B=AE=E5=BD= =95" "=E8=84=9A=E6=B3=A8") + ("zh-CN" "作者" "日期" "目录" "= 3050;注")) "Terms used in export text, translated to different languages. Use the variable `org-export-default-language' to set the language, or use the +OPTION lines for a per-file setting."