Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Towel needs localization #5

Open
casivaagustin-zz opened this issue May 14, 2014 · 0 comments
Open

Towel needs localization #5

casivaagustin-zz opened this issue May 14, 2014 · 0 comments
Assignees
Milestone

Comments

@casivaagustin-zz
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants