yes it is
I have build a basic Translate plugin which extracts via this task to
a tmp file, imports them and allows modifying/translating via admin
interface and then dumps the translated strings back to po files
in 2.0
App::uses('ExtractTask', 'Console/Command/Task');
$this->Task = new ExtractTask();
$this->Task->interactive = false;
$this->Task->params['paths'] = APP;
$this->Task->params['output'] = TMP;
$this->Task->execute();
For 1.3 it should work similar.
On 5 Jan., 13:01, Ivo Wolgensinger wrote:
> Hi there
>
> Is it possible to extract all language-strings via script? If found
> this file:
> cake/console/libs/tasks/extract.php
> I guess there is a way to start the script via another php-file.
> The reason is, I don't have access to my server via shell and can't
> run the command.
> I know, the server has a lot to work with this script, but I want to
> run this script very rarely. In this case, that doen't matter a lot.
>
> Or does anybody know how I'm able to extract the language-strings from
> my project?
>
> thanks and kind regards
>
> Ivo
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php