Silex provides a translation service for Localization (not i18n yet).
http://silex.sensiolabs.org/doc/providers/translation.html
We need a smaller version of this.
We just want to have translations in PHP arrays, we don't need any other kind of format.
We need something for load all translations files in bootstrap (like routes)
We need something to detect the current language of the user (domain.com/lang/ for example).
We need a global function t to make the translations (like drupal t)
We need t function also available for twig ( {{ t('My Awesome Label') }}
Others ideas are welcome
Silex provides a translation service for Localization (not i18n yet).
http://silex.sensiolabs.org/doc/providers/translation.html
We need a smaller version of this.
We just want to have translations in PHP arrays, we don't need any other kind of format.
We need something for load all translations files in bootstrap (like routes)
We need something to detect the current language of the user (domain.com/lang/ for example).
We need a global function t to make the translations (like drupal t)
We need t function also available for twig ( {{ t('My Awesome Label') }}
Others ideas are welcome