Hi,

In my recent project i am using the I18N feature. This is the first
time i am using the Symfony I18n feature.

I enabled the default culture in the i18n.yml file.  and tried with
the example program given in symfony doc.  I have also created the
translated xliff file(messages.fr.xml) in the i18n folder.

but when i change my culture in the url i am not able to see the
French text its still showing the english text.


Second problem is.: i have added the I18N as a standard helper in the
settings.yml

all:
  setting:
     standard_helpers:       [ I18N ]

but this is not working... every time i use __( ) function in template
its throwing  undefined function error. if i add a line in
use_helper("I18N") its working.


Third problem is Routing:

i have a route in my application
new_registration
  url:  /:sf_culture/signup
  param: { module: user, action: signup }


if i use <? echo link_to("signup" '@new_registration') ?>
i am getting error  route "new_registration" does not exist.

if i use <? echo link_to("signup" 'user/signup') ?>
its poing to the  "http://mydomain/index.php/user/signup"; instead of
"http://mydomain/index.php/en/user/signup"; i
its not automatically adding the  culture to the urls.

i have gone through all the I18N chapter but no where found the syntax
for linking an i18n page with routes and without routes.



please help in getting the answers for these queries

Thanks in advance :o)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to