i18n and ajax page not showing translated lang |
[eluser]kamikaz[/eluser]
Hi, I'm developing a multilang website with http://jeromejaglale.com/doc/php/codeigniter_i18n. Everything works great on the main page (as for now I only have one page ) but when I load a page through ajax (like a form page), the text doesn't appear: the 'lang' method doesn't find the translation. My url looks like mysite.tld/en/modules/login/dsplogin. 'modules' is a folder in controllers folder, etc. When I access the page directly, it is the same: text is not translated. In ajax, I tried to call '/en/modules/login/dsplogin' and '/modules/login/dsplogin' but it didn't solve the issue. I don't have a clue about the problem Do you? I think it is related to the url: maybe it doesn't like controllers in a sub-folder Regards |
Messages In This Thread |
i18n and ajax page not showing translated lang - by El Forum - 09-23-2014, 05:27 AM
i18n and ajax page not showing translated lang - by El Forum - 09-25-2014, 03:48 AM
i18n and ajax page not showing translated lang - by El Forum - 09-26-2014, 12:40 PM
i18n and ajax page not showing translated lang - by El Forum - 09-29-2014, 12:04 AM
|