Forum Archive - Searching fields in component dont load in second language

Searching fields in component dont load in second language
Oct 29, 2015 5:09 pm by 4ctrade
Hi, I need help with my website, when a new language is selected, the search fields dont load... http://4ctrade.com/buscar-diamantes.html Please your help with this issue. Enterprise account here.
Re: Searching fields in component dont load in second langua
Oct 30, 2015 3:58 am by Edvard
Hi, To load the form it uses AJAX request to your 4ctrade.com. When you are on a different language it still tries to load the form from your original website, because you have this in your javascript code: var url = 'http://4ctrade.com/index.php?option=com_djclassifieds&view=item&task=getSearchFields&cat_id=' + cat_id; You will need to make the URL relative, so it looks like this: var url = '/index.php?option=com_djclassifieds&view=item&task=getSearchFields&cat_id=' + cat_id; Also you have this: url: 'http://4ctrade.com/index.php', which should become: url: '/index.php', Thanks!

SIMILAR TOPICS

Highly increased load on website from 51.255.131.149Feb 19, 2019 8:29 pmReplies: 1Post by: Ant_Z
Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon
How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR

Try GTranslate with a free 15 day trial