[Components] TemplateTranslationTiein

2008-04-02 Thread Andreas Schamberger
Hi, I've got a question regarding the new TemplateTranslationTiein: For ezPublish templates there is the ezlupdate program. What are the plans for ezcTemplate? Update of ezlupdate or plain PHP solution? What's the schedule for this missing part of the TemplateTranslationTiein? Another thing I wou

[Components] TemplateTranslationTiein

2010-02-05 Thread Walter Rafelsberger
Hi, I'd like to output captions of form elements dynamically using TemplateTranslationTiein and tried the following: {tr_context "form/select"} {tr "caption"} {var $optionCaption} {foreach 1..10 as $i} {$optionCaption = "optionCaption_".$i} {tr $optionCaption} {/foreach} In the T

Re: [Components] TemplateTranslationTiein

2008-04-02 Thread Derick Rethans
On Wed, 2 Apr 2008, Andreas Schamberger wrote: > I've got a question regarding the new TemplateTranslationTiein: > For ezPublish templates there is the ezlupdate program. What are the > plans for ezcTemplate? Update of ezlupdate or plain PHP solution? There is some code that extracts the translat

Re: [Components] TemplateTranslationTiein

2008-04-02 Thread Andreas Schamberger
Hi, thank you for your quick response. I filed a feature request in the issue tracker. I ran the code snippet and will try to come up with a ezlupdate.php script and post it here as soon it is finished. Regards, Andi Derick Rethans sch

Re: [Components] TemplateTranslationTiein

2008-04-03 Thread Andreas Schamberger
Hi, I started yesterday with a ezlupdate.php script. I attached what I came up with until today. Replace "require_once 'init.php';" with your ezcComponents Setup. The script reads all templates in a directory and extracts the language strings. I used the existing functionality of the transla

Re: [Components] TemplateTranslationTiein

2008-04-04 Thread Derick Rethans
Hello Andreas! On Thu, 3 Apr 2008, Andreas Schamberger wrote: > I started yesterday with a ezlupdate.php script. I attached what I > came up with until today. Replace "require_once 'init.php';" with your > ezcComponents Setup. > > The script reads all templates in a directory and extracts the

Re: [Components] TemplateTranslationTiein

2008-04-11 Thread Andreas Schamberger
Hi, I've thought about this problem again: >> Another thing I would recommend to add to the TemplateTranslationTiein >> is a developer mode for the TemplateTranslationTieIn. I'd like to see a >> development property in ezcTemplateTranslationConfiguration that makes >> the ezcTemplateTranslationPr

Re: [Components] TemplateTranslationTiein

2008-04-22 Thread Derick Rethans
On Fri, 4 Apr 2008, Andreas Schamberger wrote: > I'll send the signed CLA by post within the next days. Shouldn't take too long > from Munich to Norway. I received it, probably during last week when I was away. I still haven't had the time yet to look at this unfortunately - I hope to get to it

Re: [Components] TemplateTranslationTiein

2008-04-22 Thread Derick Rethans
On Fri, 11 Apr 2008, Andreas Schamberger wrote: > >> Another thing I would recommend to add to the TemplateTranslationTiein > >> is a developer mode for the TemplateTranslationTieIn. I'd like to see a > >> development property in ezcTemplateTranslationConfiguration that makes > >> the ezcTemplateT

Re: [Components] TemplateTranslationTiein

2010-02-05 Thread Sascha Frinken
Am 05.02.2010 17:35, schrieb Walter Rafelsberger: [... translation function only allows you to pass literal strings ...] http://issues.ez.no/IssueView.php?Id=15004&activeItem=12 still UNRESOLVED :( regards Sascha -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/li

Re: [Components] TemplateTranslationTiein

2010-02-08 Thread Gunnstein Lye
The problem with this suggestion as far as eZ Publish is concerned, is that it makes little sense in the translation workflow, which goes like this: - write templates and php code with i18n-calls - run ezlupdate to scan these files, fetching literal source, context and comment strings, and insert/u

Re: [Components] TemplateTranslationTiein

2010-02-08 Thread Derick Rethans
On Fri, 5 Feb 2010, Sascha Frinken wrote: > Am 05.02.2010 17:35, schrieb Walter Rafelsberger: > > [... translation function only allows you to pass literal strings ...] > > http://issues.ez.no/IssueView.php?Id=15004&activeItem=12 > > still UNRESOLVED :( yes, because it's really tricky to do th