Search found 53 matches
- Thu Aug 18, 2011 5:33 am
- Forum: 欢迎使用中文讨论
- Topic: 在windows下测试gettext没成功
- Replies: 3
- Views: 38677
Re: 在windows下测试gettext没成功
不使用EcIDE #include <stdio.h> #include <locale.h> #include <libintl.h> #include <gettext.h> #define _(S) gettext(S) #define __printf__ printf #define PACKAGE "jian_gettext" int main(int argc, char **argv) { setlocale(LC_ALL,""); bindtextdomain(PACKAGE, "locale"); textdoma...
- Thu Aug 18, 2011 5:29 am
- Forum: 欢迎使用中文讨论
- Topic: 在windows下测试gettext没成功
- Replies: 3
- Views: 38677
Re: 在windows下测试gettext没成功
Poedit\bin\xgettext --keyword=N_ -o hello.po hello.ec 修改 "Content-Type: text/plain; charset=CHARSET\n" 为 "Content-Type: text/plain; charset=UTF-8\n" msgsid "this is a string\n" 增加 msgstr "这是一个字符串\n" Poedit\bin\msgfmt -o languages/zh_CN/LC_MESSAGES/hello.mo hel...
- Thu Aug 18, 2011 5:26 am
- Forum: 欢迎使用中文讨论
- Topic: 在windows下测试gettext没成功
- Replies: 3
- Views: 38677
在windows下测试gettext没成功
在windows下测试gettext没成功,我把过程写下来,看看问题出哪了. 下载安装包 install package download poedit 7z921.exe mingw tools libiconv-1.13.1-1-mingw32-dev.tar.lzma gettext-0.17-1-mingw32-dev.tar.lzma 解压到wingw 写程序 /*****hello.ec******/ #include <locale.h> #include <libintl.h> #include <gettext.h> #define PACKAGE "hello&q...
- Tue Aug 16, 2011 11:46 am
- Forum: 欢迎使用中文讨论
- Topic: 软件国际化提的意见.
- Replies: 2
- Views: 16279
Re: 软件国际化提的意见.
通过软件 gettext 来实现的.
- Tue Aug 16, 2011 11:45 am
- Forum: 欢迎使用中文讨论
- Topic: 软件国际化提的意见.
- Replies: 2
- Views: 16279
软件国际化提的意见.
你用过Wordpress 或者VC解决软件国际化的问题 在VC中 定义宏 #define _T(x) (x) #define __(x) (x) _T("this is a strings.") ("this is a strings.") __("this %s or %d.") ("this %s or %d.") 然后通过软件Poedit对源代码进行查找,翻译. 查找模板"_T" 和"__"标记的地方. 人为翻译后生成对应的PO文件和MO文件 程序运行时就可以实现翻译.
- Mon Aug 15, 2011 10:56 am
- Forum: 欢迎使用中文讨论
- Topic: 中文测试版出来了,请大家提意见和测试.
- Replies: 7
- Views: 36344
Re: 中文测试版出来了,请大家提意见和测试.
翻译时,还找出了几个好像有错误地方.我做了修改.
Translation, identifying several error I made a change.
Translation, identifying several error I made a change.
- Mon Aug 15, 2011 10:51 am
- Forum: 欢迎使用中文讨论
- Topic: 中文测试版出来了,请大家提意见和测试.
- Replies: 7
- Views: 36344
Re: 中文测试版出来了,请大家提意见和测试.
我编译完的程序,有时会出现程序错误,并提示关闭程序.我还没找到原因.
Compiled the program, sometimes the program will display an error and close the program.I have not found the reason.
Compiled the program, sometimes the program will display an error and close the program.I have not found the reason.
- Mon Aug 15, 2011 10:44 am
- Forum: 欢迎使用中文讨论
- Topic: 中文测试版出来了,请大家提意见和测试.
- Replies: 7
- Views: 36344
Re: 中文测试版出来了,请大家提意见和测试.
我尽可能的增加了一些.根据新版的程序源代码翻译的.新的模块做了翻译. 还需要经过测试. I added some as much as possible, according to a new version of source code translation of the new module to do the translation. ecere_cn_diff.rar 文件显示了,新版本的英文版和中文版的不同. ecere_cn_diff.rar documents show the different from the new version of the English to C...
- Mon Aug 15, 2011 10:31 am
- Forum: 欢迎使用中文讨论
- Topic: 中文测试版出来了,请大家提意见和测试.
- Replies: 7
- Views: 36344
Re: 中文测试版出来了,请大家提意见和测试.
1.主要使用软件 Beyond Compare 3 文件比较,同时生成差异文件列表,方便管理.
2.参考上一主题的chinese3.zip源文件
3.了解了ANSI to UTF8
1 The main use of file comparison software Beyond Compare 3, while the list of differential file generation for easy management.
2 reference on the previous topic of chinese3.zip.
3 know about ANSI to UTF8
2.参考上一主题的chinese3.zip源文件
3.了解了ANSI to UTF8
1 The main use of file comparison software Beyond Compare 3, while the list of differential file generation for easy management.
2 reference on the previous topic of chinese3.zip.
3 know about ANSI to UTF8
- Mon Aug 15, 2011 10:19 am
- Forum: 欢迎使用中文讨论
- Topic: 中文测试版出来了,请大家提意见和测试.
- Replies: 7
- Views: 36344
Re: 中文测试版出来了,请大家提意见和测试.
附件太大,不能上传,给出以下网址
Attachment is too large not upload, give the following URL
Updated about uploading files, you can for a longer time
http://myecere.googlecode.com/files/ecere.zip
Attachment is too large not upload, give the following URL
Updated about uploading files, you can for a longer time
http://myecere.googlecode.com/files/ecere.zip