flex本地化等于角色

时间:2011-07-14 22:24:40

标签: flex actionscript-3

我在我的语言环境文件中放置一个等号字符时遇到了问题

我必须做这样的事情:

#greater value

greater_value = the value must be ( >= ) than the corresponding value 

但是当在ui中显示该东西时,错过了第二个等于之后的文本

如何在flex语言环境文件中放置一个等号?

编辑:我已经使用过,转义字符,ascci代码,html代码和unicode unicodes。

2 个答案:

答案 0 :(得分:2)

您可以使用unicode字符表示:

greater_value = the value must be ( >\u003D ) than the corresponding value

答案 1 :(得分:0)

我不知道为什么但是unicode表示对我没有用,我最后做的是使用harry ninh提出的解决方案,使用StringUtil.substitute。

  

克服这个问题有一点棘手的方法:

     

greater_value =该值必须是({0})而不是相应的值

     

然后在您的AS代码中,使用StringUtil.substitute(localeString,“> =”);