开发者

Are the XLIFF translation files (I18n) in Symfony case-sensitive?

Had a quick doubt... Are the XLIFF translation files (used by I18n Helper) in Symfony case-sensitive? Will __('Hi') & __('hi') both fetch different results? What if t开发者_StackOverflow中文版he XML only has a hi? Thanks


Yes, they are case-sensitive... Some googling helped... http://forum.symfony-project.org/index.php/m/74581/

Is there a way to use the case-insensitive translation if the exact is not found? so __('Hi') will use 'hi' when 'Hi' is not found :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜