• Hello,

    I’m just in the process of setting up polylang (great plugin, Chouby, thanks!) on an older Wootheme (Optimize) and nearly have everything set up, apart from the homepage.

    I borrowed from the config suggested previously here, making my own version to include just the elements required, which you can grab from pastebin here. I got the key names from the header and main index files.

    I also made sure the polylang folder in wp-content, and its contents, are owned by the server, to be sure. Made no difference yet.

    These strings now show up in the Polylang settings, and I can translate them, but no amount of page cache refreshing/browser changing makes them display on the site. I suppose I need to add a code switch somewhere in the Main Index Template (index.php) or in the header?

    Anyone have any experience with this?

    Thanks!

    https://www.ads-software.com/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Luke

    (@spokkbb)

    PS – I tried to change the loading method for Polylang as per the link below, but that didn’t seem to fix it for me.

    https://www.ads-software.com/support/topic/strings-added-to-strings-translation-tab-not-translating?replies=4

    More info:
    – it’s a dynamic (woo framework) front page
    – I’m using the latest stable Polylang on WP 3.8.4
    – Optimize v. 2.3.6, woo framework 5.5.5

    Thread Starter Luke

    (@spokkbb)

    PPS – Have also updated the Nginx config as per:

    https://www.ads-software.com/support/topic/nginx-fastcgi_cache-and-polylang-homepage-redirect?replies=2

    And am using w3tc to cache the site, emptying the cache regularly to test. Polylang, when I said latest stable version, I should have said: v1.5.5

    PL settings are:

      Set lang from content (EN and FR)
      Hide URL lang info (checked)
      Remove /language/ in pretty permalinks
      Set lang according to browser preference
      Activate langs for media
      Custom post types: wooframework internal container, mini-features
      Synchronisation: none checked

    Merci en tous cas !

    Thread Starter Luke

    (@spokkbb)

    Further information:

    – Wooframework updated to current version: 6.0.4
    – WP udapted to current version 4.0

    Also switched on debugging, as per:
    https://www.ads-software.com/support/topic/no-wp_nav_menu-after-installing-polylang?replies=2

    And got the following:

    Notice: wp_enqueue_script was called incorrectly. Scripts and styles
    should not be registered or enqueued until the wp_enqueue_scripts,
    admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see
    Debugging in WordPress for more information. (This message was added
    in version 3.3.) in /usr/share/nginx/www/SITENAME/wp-includes/functions.php
    on line 3049 Notice: register_sidebar_widget is deprecated since
    version 2.8! Use wp_register_sidebar_widget() instead. in
    /usr/share/nginx/www/SITENAME/wp-includes/functions.php on line 2908
    Notice: register_widget_control is deprecated since version 2.8! Use
    wp_register_widget_control() instead. in
    /usr/share/nginx/www/SITENAME/wp-includes/functions.php on line 2908

    This seems to be interfering with the order things are loaded. Not sure if relevant. I’m sure there must be a snippet I could add to functions.php to get things loading in the right order…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woothemes front page issues with WPML string config file’ is closed to new replies.