Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Translate messages on callback validators

Received: by 10.58.68.3 with SMTP id r3mr338419vet.19.1349973532534;
        Thu, 11 Oct 2012 09:38:52 -0700 (PDT)
X-BeenThere: symfony2@googlegroups.com
Received: by 10.220.154.17 with SMTP id m17ls1487173vcw.1.gmail; Thu, 11 Oct
 2012 09:38:49 -0700 (PDT)
Received: by 10.52.156.115 with SMTP id wd19mr332517vdb.2.1349973529837;
        Thu, 11 Oct 2012 09:38:49 -0700 (PDT)
Date: Thu, 11 Oct 2012 09:38:49 -0700 (PDT)
From: alsar <ales.sark...@gmail.com>
To: symfony2@googlegroups.com
Message-Id: <45b8b55c-b3ea-4eb7-adfe-4f2e58a731c0@googlegroups.com>
In-Reply-To: <9a2a28de-74c5-48a2-8e8e-c38bfdc8b4b7@googlegroups.com>
References: <9a2a28de-74c5-48a2-8e8e-c38bfdc8b4b7@googlegroups.com>
Subject: Re: Translate messages on callback validators
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_821_22414215.1349973529424"

------=_Part_821_22414215.1349973529424
Content-Type: multipart/alternative; 
	boundary="----=_Part_822_111494.1349973529424"

------=_Part_822_111494.1349973529424
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

You have to put the key:translation pair inside the 
validators.[yourlocale].yml file that is located in the 
Resources/translations folder inside your bundle.
You also have to enable the locale in the config.yml.
After that it should work automatically.

------=_Part_822_111494.1349973529424
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

You have to put the key:translation pair inside the validators.[yourlocale].yml file that is located in the Resources/translations folder inside your bundle.<br>You also have to enable the locale in the config.yml.<br>After that it should work automatically.<br>
------=_Part_822_111494.1349973529424--

------=_Part_821_22414215.1349973529424--