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 :)
精彩评论