Jochem van Dieten wrote:
> Pretty much. But it is still PHP style: if a translation of a 
> resource does not exist it will display the default. You can not 
> configure it to throw an error. (Which is my biggest gripe with 
> PHP: it will never throw an error when variables don't exist, it 
> will just do something unexpected that breaks your app in a 
> non-obvious way.)

don't think i knew that (though i suspect you've told me this all once 
before, sorry my memory is getting worse & worse). PHP is missing so 
much else that i keep expecting the worse, my bad. thanks for the 
correction.

java style rb's do something similar, they'll keep falling back (by 
chopping the locale string, th_TH_TH-->th_TH-->th) until they find the 
right locale or return the base one if not. the classpath one will 
anyway, the list/property ones will throw an error if they don't find 
that specific rb file.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to