Julien Fastré 57f2fa3178 create an helper + twig filter to show translatable string in current locale.
The twig filter is localize_translatable_string

Example : {{ person.nationality|localize_translatable_string }}

The helper may be called with $container->get('chill.main.helper.translatable_string'). The main function is ->localize(array $strings)

Example:

$container->get('chill.main.helper.translatable_string')->localize($country->getName()); #return the name in current locale

close #299
2014-11-17 01:03:07 +01:00
..
2013-10-11 12:34:54 +02:00
2014-11-13 15:04:31 +01:00
2014-11-16 23:53:49 +01:00
2014-11-12 23:55:48 +01:00
2014-11-12 23:55:48 +01:00
2014-11-11 08:54:33 +01:00
2014-11-11 08:54:17 +01:00

ScratchCSS

Installation

npm install
grunt

Developpement : autoupdate

grunt watch

This command will copy all the css file into ../../../../web/bundles/chillmain/