[symfony-devs] i18n and POST method bug?

2007-07-27 Thread weppos
Have a look at the following example in /content module. public function executeContact() { if ($this->getRequest()->getMethod() != sfRequest::POST) { $this->_contactSetContent(); // display the form return sfView::SUCCESS; } $this->sendEmail('email', 'co

[symfony-devs] Re: I18n problem

2007-07-26 Thread weppos
The file must be called messages.tr.xml not .yml and stored into /i18n folder within your module directory. -- Simone On Jul 25, 5:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > we did everything > > in settings .yml > all: > .settings: > i18n: on > > in messages.tr.yml > > >

[symfony-devs] Proposal for i18n accessor methods (#1886)

2007-07-16 Thread weppos
Hi guys, I was browsing Trac tickets to check whether there's some issue I already have addressed and I found http://trac.symfony-project.com/trac/ticket/1886 I found some issues dealing with i18n (see http://groups.google.com/group/symfony-devs/t/296364f265edbf59) and one of this was exactly wh

[symfony-devs] Re: Proposal: quick access to Symfony version

2007-07-16 Thread weppos
ION file was removed and replaced by sfCore::VERSION constant. > > Fabien > > weppos wrote: > > Yesterday I came across the need to get Symfony version. > > I searched forums and groups but it seems the only way to get Symfony > > version is to read VERSION file >

[symfony-devs] Proposal: quick access to Symfony version

2007-07-16 Thread weppos
Yesterday I came across the need to get Symfony version. I searched forums and groups but it seems the only way to get Symfony version is to read VERSION file Symfony itself uses this function to check correspondence between cache and library. I would suggest to provide a convenient method for

[symfony-devs] Re: adding a symfony project into Zend-Studio

2007-07-16 Thread weppos
It's really simple. 1. create a new symfony project 2. create a new project in Zend_Studio and add symfony project root to Zend_Studio project paths 3. add your symfony library root, for example /opt/local/lib/php/ symfony, to Zend_Studio project paths -- Simone On Jul 16, 1:59 pm, "[EMAIL PROT

[symfony-devs] Re: Bug with partials and i18n?

2007-07-16 Thread weppos
case, it's a bit counter > intuitive. I don't know how we can fix your problem. > > Fabien > > weppos wrote: > > Hello, > > > I found a strange behavior. > > I don't really know if you can consider it a bug or a feature. > > > Try to do

[symfony-devs] Bug with partials and i18n?

2007-07-15 Thread weppos
Hello, I found a strange behavior. I don't really know if you can consider it a bug or a feature. Try to do the following 1. enable i18n feature in Symfony 2. create a module, for example MyFirstModule 3. create an other module, for example MySecondModule 4. Now, create a component in MyFirstMo