我有一些常量,比如下面的代码。我需要翻译它们,我已经尝试过_(),但不起作用。提前谢谢。
const system_name = 'System Name';
business_name = 'Business Name';发布于 2013-10-18 19:36:33
如果我需要处理必须转换的常量,我通常会将它们声明为resourcestring
resourcestring
system_name = 'System Name';
business_name = 'Business Name';dxgettext无需任何调整即可处理这些内容。
https://stackoverflow.com/questions/16668339
复制相似问题