I have problem with extracting strings from php files.
I have added to factories.yml following configuration
i18n:
class: sfI18N
param:
source: MySQL
database: mysql://[EMAIL PROTECTED]/sfshop
debug: off
untranslated_prefix: "[T]"
untranslated_suffix: "[/T]"
cache:
class: sfFileCache
param:
automatic_cleaning_factor: 0
cache_dir: %SF_I18N_CACHE_DIR%
lifetime: 86400
prefix: %SF_APP_DIR%
and added tables catalogue and trans_unit to my schema
After it I trying to execute command from command line
./symfony i18n:extract frontend en
But an error occurred
"Error in connecting to Array."
Also displayed warnings
PHP Warning: array_map(): An error occurred while invoking the map callback
in /www/sfshop/htdocs/lib/symfony/lib/i18n/sfI18N.class.php on line 136
Warning: array_map(): An error occurred while invoking the map callback in
/www/sfshop/htdocs/lib/symfony/lib/i18n/sfI18N.class.php on line 136
Is it bug in the symfony?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---