Deshbandhu Posted May 29, 2013 Share Posted May 29, 2013 Hello, Can anyone please help me with this problem. I need to change the AJAX content language in Back Office, which now is english, but it has to be in french. I have done ajax paging in Back office but problem is here with language translation $this->l("previous") is not working and also this one {l s='Subscribe the contact' mod='mailin'} Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2013 Share Posted May 29, 2013 you mean that you've got separate php file, where you've got $this->l("something") and it doesnt work? or what? Link to comment Share on other sites More sharing options...
Deshbandhu Posted May 29, 2013 Author Share Posted May 29, 2013 you mean that you've got separate php file, where you've got $this->l("something") and it doesnt work? or what? I forgot to include init file now its working for me I forgot to include init file now its working for me Thanx for reply Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2013 Share Posted May 29, 2013 so the problem is solved? :) Link to comment Share on other sites More sharing options...
Deshbandhu Posted May 29, 2013 Author Share Posted May 29, 2013 so the problem is solved? :) yes :( Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2013 Share Posted May 29, 2013 so i marked this thread as solved :-) regards Link to comment Share on other sites More sharing options...
Deshbandhu Posted May 31, 2013 Author Share Posted May 31, 2013 (edited) so the problem is solved? :) I am facing translation issue First time I have choosed french in backoffice , if i change french language to english then ajax content does not change I have removed compile file and cache Edited May 31, 2013 by Deshbandhu (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 under the localization > translations tab, have you got this file available to translate? Link to comment Share on other sites More sharing options...
Deshbandhu Posted May 31, 2013 Author Share Posted May 31, 2013 under the localization > translations tab, have you got this file available to translate? Yes first time its working fine but if i change language then all text is change but ajax content is not change Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 In my opinion this is problem with cache in your browser. Some time ago, i've got the same issue - after language change - I had to clear my browser cache. Then all ajax requests work well (with correct lang) Link to comment Share on other sites More sharing options...
Deshbandhu Posted May 31, 2013 Author Share Posted May 31, 2013 In my opinion this is problem with cache in your browser. Some time ago, i've got the same issue - after language change - I had to clear my browser cache. Then all ajax requests work well (with correct lang) In my case I do login with other browser or other system then ajax requests is not working well (with correct lang) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now