Create The World With Creativity
 
欢迎您访问 BMForum 帮助中心寻求帮助

返回论坛


BMForum 帮助中心 >> 语言翻译 Language Translated >> 数据结构 Data Frame
数据结构 Data Frame
欢迎对论坛进行语言翻译工作 Welcome to translating our forum.

所有前台语言变量均存在于 lang/语言名称/文件名称.lng 下
All of language information saved in folder "lang/language name/program name.lng"

当你用文本编辑软件打开这些文件,你会看到很多其他语言或本地语言的文本。
When you open these files with text file editor ,you can see many text in other langugae or local language.

这些文本都是存在变量内的,其实如果你要单纯翻译论坛,你不需要了解什么是变量。
These text are saved in variables, in fact, if you want to translate forum only, you don't need to know what's variable.

你可以用这些软件对其进行编辑,之后保存即可。
You can edit these text with text file editor ,then save the file.

不过,在 global.lng 文件头,你需要改动一个地方。
But ,in the header of global.lng,you needn't change this text.

$encode_info="text/html; charset=utf-8"; // Accept-Language

你不需要把变量内的信息改为浏览器可以识别的当地语言信息。因为论坛必须使用 UTF-8 格式读取、存储文件。
You needn't change the information in this variable with the internet browser cognizable language information.Because the forum must save/read files in UTF-8 format.

就这么简单,现在就开始吧!
It's easy, start now!