elektrojo Posted October 17, 2014 Share Posted October 17, 2014 (edited) My shop has this small problem Facebook like Box Block does not load when use change language to Arabic visit the site athttp://www.ekarti.com/index.php?id_lang=2 http://www.ekarti.com/index.php?id_lang=1 Edited January 10, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
elektrojo Posted October 20, 2014 Author Share Posted October 20, 2014 prestashop experts plz Link to comment Share on other sites More sharing options...
El Patron Posted October 20, 2014 Share Posted October 20, 2014 did you translate the module? bo-->localization-->translations-->modules Link to comment Share on other sites More sharing options...
elektrojo Posted October 20, 2014 Author Share Posted October 20, 2014 it's translated but even if he module is not translated it will be shown with it's default language, i could see error from chrome console Failed to load resource: the server responded with a status of 404 (Not Found) http://connect.facebook.net//all.js#xfbml=1&appId=820600224657190 Link to comment Share on other sites More sharing options...
El Patron Posted October 20, 2014 Share Posted October 20, 2014 holy!...I really don't have a clue... can you post screen shots? Link to comment Share on other sites More sharing options...
elektrojo Posted October 20, 2014 Author Share Posted October 20, 2014 (edited) here are 4 screen shots 2 in Arabic and another 2 in English (with/without console) Edited January 10, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2014 Share Posted October 22, 2014 console spawns errors: first one is related to your problem, second to browser plugin that i use (don't care about it) it looks like your Arabic language hasn't got language code defined. it looks like it's a part of header.tpl file can you confirm that in this file you see code to include facebook js libraries? Link to comment Share on other sites More sharing options...
elektrojo Posted November 7, 2014 Author Share Posted November 7, 2014 (edited) console spawns errors: first one is related to your problem, second to browser plugin that i use (don't care about it) it looks like your Arabic language hasn't got language code defined. it looks like it's a part of header.tpl file can you confirm that in this file you see code to include facebook js libraries? Sorry for not fllowing up but it seems I didn't get the email alert, i think your point is right because am also using the facebook comment module you made and it did not work in Arabic. what is the code I am supposed to look for? Edited November 8, 2014 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2014 Share Posted November 19, 2014 if i were you i will remove this code totally. it's useless. you can use code that is a part of facebook comments module. will work, im more that convinced ;-) Link to comment Share on other sites More sharing options...
elektrojo Posted November 21, 2014 Author Share Posted November 21, 2014 I didnt get it actually, a script that I made? Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2014 Share Posted November 21, 2014 you're reffering to my suggestion? i mean default js script that loads facebook libraries Link to comment Share on other sites More sharing options...
elektrojo Posted January 7, 2015 Author Share Posted January 7, 2015 (edited) Does it give a clue that both official facebook like box from PrestaShop and comments module from Vekia are not working in ArabicThis is the error in products page (relating to the comments module)index.php?id_product=3&controller=product&id_lang=2:239 GET http://connect.facebook.net//all.js index.php?id_product=3&controller=product&id_lang=2:239 (anonymous function)index.php?id_product=3&controller=product&id_lang=2:240 (anonymous function) Edited January 7, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
elektrojo Posted January 10, 2015 Author Share Posted January 10, 2015 could anyone guide me step by step, since I am not programmer but I am good with steps following Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2015 Share Posted January 10, 2015 to the end of the <iframe href=""> param just add locale=ar_AR you will see your likebox in arabic language list of languages and their local codes:http://mypresta.eu/en/art/know-how/facebook-list-of-local-language-codes.html Link to comment Share on other sites More sharing options...
elektrojo Posted January 10, 2015 Author Share Posted January 10, 2015 (edited) thanks to the end of the <iframe href=""> param just add locale=ar_AR you will see your likebox in arabic language list of languages and their local codes:http://mypresta.eu/en/art/know-how/facebook-list-of-local-language-codes.html which file? will this work for both broblems comments module and like box? Edited January 10, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
elektrojo Posted January 10, 2015 Author Share Posted January 10, 2015 now it's Arabic box for all the time (for both languages the box is Arabic) and btw it worked before emptying blockfacebook.js file Link to comment Share on other sites More sharing options...
elektrojo Posted January 11, 2015 Author Share Posted January 11, 2015 is there a way to check language id and activate the right link 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