Hi, I'm trying to use i18n to translate my website but I can't make it run. These are my settings:
1- settings.yml all: .settings: # Default charset charset: utf-8 # Default culture default_culture: es_ES i18n: on # Setting helpers standard_helpers: [Partial, Cache, I18N] ... 2- Part of template: <div class="navigation" id="navigation"> <ul> <li><?php echo __('Inicio') ?></li> <li><?php echo __('Buscar') ?></li> <li><?php echo __('Proponer un cambio') ?></li> <li><?php echo __('Mis cambios') ?></li> </ul> 3- Command auto generated xml ( with "php symfony i18n:extract --auto- save frontend en_US" command) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN" "http://www.oasis- open.org/committees/xliff/documents/xliff.dtd"> <xliff version="1.0"> <file source-language="EN" target-language="en_US" datatype="plaintext" original="messages" date="2010-12-10T22:21:56Z" product-name="messages"> <header/> <body> <trans-unit id="1"> <source>Inicio</source> <target>Home<target/> </trans-unit> <trans-unit id="2"> <source>Buscar</source> <target>Search<target/> </trans-unit> <trans-unit id="3"> <source>Proponer un cambio</source> <target>Propose a exchange<target/> </trans-unit> <trans-unit id="4"> <source>Mis cambios</source> <target>My changes<target/> ... 4- I set user's culture to 'en_US' when he visites search page to test it... but nothing occurs... 5- I cleaned cache and deleted cookies every time I tested it. At Symfony's bar, I can see user has es_ES culture, after cliking search page his culture changes to en_US but nothing occurs... What am I doing wrong? Please help! Thanks, Carlos. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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