Yup, you can do that using the I18N helper - for you invoice action, if the language parameter exists, use it in the template for the main body, otherwise use culture from the users session. For all your menu, footers etc use the culture from the users session.
You can also use helpers within actions if you need to. On 18 Mar 2009, at 11:03, Tomasz Ignatiuk wrote: > But I don't want to change language for whole application just in > order to print an invoice in different language. If I change a > language (culture) for application, all menus and other stuff will > also change. But I want to change only a content of a show template > for invoice module > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
