你用过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文件
程序运行时就可以实现翻译.
软件国际化提的意见.
软件国际化提的意见.
Last edited by liqi98136 on Tue Aug 16, 2011 12:01 pm, edited 1 time in total.
Re: 软件国际化提的意见.
Hi liqi,
At some point I do want to take the time to figure out an internationalization solution for eC/Ecere applications, integrated as a feature of the eC language. It might partially rely on gettext. It might also be work that takes place together with developing a proper String data type for eC.
In the meantime you or anyone else is welcome to investigate the possibilities
Thanks!
Jerome
At some point I do want to take the time to figure out an internationalization solution for eC/Ecere applications, integrated as a feature of the eC language. It might partially rely on gettext. It might also be work that takes place together with developing a proper String data type for eC.
In the meantime you or anyone else is welcome to investigate the possibilities
Thanks!
Jerome