Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • hey, tarrum, did you find the solution? l have the same case. the only difference is the target-address on spam.

    Forum: Fixing WordPress
    In reply to: funny url-s
    Thread Starter kokakoola

    (@kokakoola)

    Excellent, thank you, Jan!

    Thread Starter kokakoola

    (@kokakoola)

    If I move the lines as suggested the english version of jigoshop will be the only one what loads – all the rest changes language nicely except jigoshop. But good if it works for you. Intending to invest into WPML next: there are rumors it shall work with jigoshop. Will see.

    Thread Starter kokakoola

    (@kokakoola)

    Thank you for the suggestion! Jigoshop is far too complex for me to hack.

    Your modification seems to appear too late: will not hook the Jigoshop language file at all.

    There is some effort using in wp_config instead of define(‘WPLANG’, ‘your_LANGUAGE’);

    if (strpos($_SERVER['REQUEST_URI'],'/en/')>0) define ('WPLANG', 'en_EN');
    else define ('WPLANG', (($_GET['lang']) ? strtolower($_GET['lang']) .'_'. strtoupper($_GET['lang']) : 'your_LANGUAGE'));

    I DO get language switch in the shop area this way. But then I run into next trouble that I don’t understand the Jigoshops shop-page logic: it is neither Page nor Post actually but post type and if I create a page for translation (as it is supposed to be with Polylang) then it’s just an empty page. Jigo does not give any shortcodes or whatsoever to mark it as a Shop.

    And Cart does not change the shop language at the same time, what makes no sense to me (if the jigo mo is hooked then its hooked not that once it is and then it isn’t).

    It is not terribly urgent (as in many matters here in forum) so don’t bother. Would be good to knew thou. Is annoying to give up.

Viewing 4 replies - 1 through 4 (of 4 total)