Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Polylang - Fix for homepage not switching language / translation

Polylang - Fix for homepage not switching language / translation

Scheduled Pinned Locked Moved Bug Reports
3 Posts 3 Posters 926 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thomasmaier
    wrote on last edited by thomasmaier
    #1

    This took me multiple hours to figure out because the solution polylang provides by itself doesn't work here or with Lay Theme:

    If you have the problem that your homepage doesn't switch the language but all other pages work. Like, German is your main language and English your second language, the switch always shows the German translation – unimportant what you do:

    Do NOT set the homepage under the ‘Reading settings’ panel.

    Leave it as is and set your Lay Theme homepage via the usual way in the Customize panel.

    Then it works!

    PS: It also works with any page being selected in the ‘Reading settings’ – just don't select the actual homepage. The Lay Theme setting overrules that setting anyways, but if you set both ways with the same page, it breaks polylang for the homepage.

    1 Reply Last reply
    1
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      oh damn!

      thanks for the heads up, i will try and fix this

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HorstoftheFuture
        wrote on last edited by
        #3

        WONDERFUL!!! Thank you for posting this, I had the same issue and it worked <3

        1 Reply Last reply
        0
        • R RenataMGr referenced this topic on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        I also code custom websites or custom Lay features.
        💿 Email me here: 💿
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

        This often solves issues you might run into

        When you post:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        O
        oli
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search