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 the XML only has a hi? Thanks
+1
A:
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 :)
Prasad
2010-07-26 12:19:00
You could modify the `__()` function to do the extra `strtolower($string)` call in case of no match...
Raise
2010-07-26 19:40:32
thats a gr8 idea, thanks Raise
Prasad
2010-07-28 04:29:17