On 09.10.2010, at 13:30, Fabien Potencier wrote:
>> Does Symfony2 read the user's preferred languages from browser? In
>> Zend Framework I can tell ZF to read the browser preference:
>>
>> $translate = new Zend_Translate(
>>'gettext',
>>APPLICATION_PATH . '/langs',
>>$locale->getLang
Does Symfony2 read the user's preferred languages from browser? In
Zend Framework I can tell ZF to read the browser preference:
$translate = new Zend_Translate(
'gettext',
APPLICATION_PATH . '/langs',
$locale->getLanguage(),
array(
'scan' => Zend_Translate:
On 08.10.2010, at 22:03, halk wrote:
Hello all,
Fabien told us in his keynote on symfony day 2010 in Cologne today,
that Symfony2's new Translation component has a fallback for the
culture/locale built-in. Fabien gave this example: "fr_FR", "fr",
"en". If there is no translation "fr_FR", Symf
On 10/08/2010 02:03 PM, halk wrote:
Hello all,
Fabien told us in his keynote on symfony day 2010 in Cologne today,
that Symfony2's new Translation component has a fallback for the
culture/locale built-in. Fabien gave this example: "fr_FR", "fr",
"en". If there is no translation "fr_FR", Symfony2
Hello all,
Fabien told us in his keynote on symfony day 2010 in Cologne today,
that Symfony2's new Translation component has a fallback for the
culture/locale built-in. Fabien gave this example: "fr_FR", "fr",
"en". If there is no translation "fr_FR", Symfony2 looks for "fr", if
not then "en" (as