Locale(pecl intl) and core/helpers/locale.php

momo-i
momo-i's picture

Joined: 2008-07-03
Posts: 19
Posted: Mon, 2009-03-30 06:14

Hi there,

I'm using pecl intl extension now. I installed gallery3 and conflicted intl extension and core/helpers/locale.php class.
Fatal error: Call to undefined method Locale::available() in /xxx/core/controllers/admin_languages.php on line 100

EDIT: my mistake. not kohana, conflict with core/helpers/locale.php.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2009-03-31 20:55

great feedback, thanks!

i've filed a ticket to keep track of this. we'll need to take of that, probably by changing your class name.
see: https://apps.sourceforge.net/trac/gallery/ticket/194

BTW: the intl extension provides very useful features. maybe we can use some of g3's classes as fallback for the intl implementations.