On 08.02.2011 04:05, Tom Boutell wrote: > Now, if I could make some assumptions about how ResourceBundle was > really going to be used in the Symfony framework core - if I knew, for > instance, that it would only be used to load what seem to be the > "standard" ICU locale resource files that are packaged by > Symfony/Component/Locale/Resources/data/update-data.php, and nothing > else within the core of Symfony - then I could fake it pretty well: I > could simply grab the results for 'en' and ensure that the relevant > methods return that information. I could even build a tool that keeps > this up to date, taking advantage of the fact that I have the real > intl tools at my disposal.
The idea of Bernhard was that the update-data.php script would also read the english files with the actual Intl ext and dump them to a more usable php format that would be used by the mocked Intl implementation. I think this would be the best approach, everyone just has to keep in mind, at least in Sf core, that Intl must be used carefully. Cheers -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
