Ok, so now I know that I don't have to use gettext but __()
Unfortunatelly still I don't knwo how to use po files instead of xliff
xml
On Jan 22, 10:28 am, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hi guys
In I18n And L10n Doc I read that I can use gettext (po files) as
translation. So I config everything:
all:
.settings:
i18n: on
standard_helpers: [Partial, Cache, Form, I18N]
default_culture: pl_PL
source: gettext
But I can use in templates etc only __() function. When I use gettext
() function it show error that it is undefined.
How should I set up this and how to extract po (mo,pot) file?
I use this:
symfony i18n:extract --auto-save frontend en
But it creates xml file.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---