|
发表于 2004-8-15 00:47:35
|
显示全部楼层
来自 中国–广东–深圳–南山区
Post by 向导
lang目录里的文件
汉化方式
"Admin Base"
fr:"Base Admin"
chs:"基本管理"
"Admin Base for MySQL"
fr:"Base Admin - MySQL"
chs:"基本管理 - MySQL"
然后就可以了。
。。。
----------------------------------------------------------------
但按照%amx/doc/amxaddlangs.html文中所说,是不建议这样做的。
tailor.txt:"My tailor is rich"
fr:"Mon tailleur est riche"
You want to add German. You could just do:
tailor.txt:"My tailor is rich"
fr:"Mon tailleur est riche"
de:"Mein Schneider ist reich"
But adding this to the default file is not recommended: what would happen if somebody else provided people with his own Spanish translations added to the default file? Users who'd want to add both German and Spanish support would have to merge the two files.
Instead of this, you would better create your own translations file:
tailor_de.txt:"My tailor is rich"
de:"Mein Schneider ist reich"
Then people who want to use your translations will just have to add one line to their default file:
tailor.txt:; Include German translations
; (can be specified anywhere in the file)
+ "tailor_de"
; Default translations
"My tailor is rich"
fr:"Mon tailleur est riche" |
|