emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp


From: tumashu
Subject: Re: [O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp
Date: Mon, 19 Mar 2012 13:47:51 +0800
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)

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
<html xmlns="http://www.w3.org/1999/xhtml"; lang="zh_CN" xml:lang="zh_CN">
#+end_example


It should be:
#+begin_example
<html xmlns="http://www.w3.org/1999/xhtml"; lang="zh-CN" xml:lang="zh-CN">
#+end_example
[[http://www.w3.org/International/articles/bcp47/]] 

--------------------------------------------------------
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" "&#1040;&#1074;&#1090;&#1086;&#1088;"      
"&#1044;&#1072;&#1090;&#1072;"  
"&#1057;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;" 
"&#1057;&#1085;&#1086;&#1089;&#1082;&#1080;")
     ("sv" "F&ouml;rfattare" "Datum" "Inneh&aring;ll" "Fotnoter")
     ;; Use numeric character entities for proper rendering of non-UTF8 
documents
-    ;; ("zh_CN" "作者" "日期" "目录" "脚注")
-    ("zh_CN" "&#20316;&#32773;" "&#26085;&#26399;" "&#30446;&#24405;" 
"&#33050;&#27880;"))
+    ;; ("zh-CN" "作者" "日期" "目录" "脚注")
+    ("zh-CN" "&#20316;&#32773;" "&#26085;&#26399;" "&#30446;&#24405;" 
"&#33050;&#27880;"))
   "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."




reply via email to

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