summaryrefslogtreecommitdiffstats
path: root/src/translator_cn.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-06-03 12:55:52 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-06-03 12:55:52 (GMT)
commit88e70b5242b2446f33ab700e6d10e7f25ae2c349 (patch)
treee4c1bc4d115db7e8fd8404c77e83a595fe9c19e2 /src/translator_cn.h
parentfd1111503cd3e403db3784d03530e6ec3ac37032 (diff)
downloadDoxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.zip
Doxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.tar.gz
Doxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.tar.bz2
Adding the xml:lang tag to XML and Docbook output
Adding the xml:lang attribute for XNL and Docbook output Interesting links: - language codes (different from country codes!): https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - example for xml.xsd: http://www.java2s.com/Code/XML/XML-Schema/importanotherXMLschema.htm
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r--src/translator_cn.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h
index 0e559c1..735bf45 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -1920,7 +1920,15 @@ class TranslatorChinese : public TranslatorAdapter_1_8_15
return "该单例的文档由下列文件生成:";
}
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.8.19, but completely filled so no need for a TranslatorAdapter_1_8_19
//////////////////////////////////////////////////////////////////////////
+
+ virtual QCString trISOLang()
+ {
+ return("zh");
+ }
};
#endif