This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: WPML Can't Translate Custom Layout Elements?

#2348
Jason Bobich
Keymaster

All right, take a breath. I’m not going anywhere. We’ll get you squared away.

First off, the homepage layouts are not going to work as it sounds like you’re expecting. In terms of the homepage specifically, you don’t do anything under WPML’s Translation Interface that you’re linking to in your screenshot. I’m a little confused though if you’re reading this article or not because you seem to be taking some parts away from it but not others.

So, maybe it’s not quire clear enough on my part. That’s okay; let’s break it down.

  • Step 1: Go to the Builder section.
  • Step 2: For each language create a unique custom layout AND configure your content for each language’s layout all from within the Builder section of your WordPress admin panel.
  • Step 3: Go to Settings > Reading > frontpage displays and select “your latest posts” (which it sounds like you’re already doing).
  • Step 4: Go to Appearance > Theme Options and at the top of the screen you’ll see that the WPML Bridge plugin gives you a different set of theme options for each language. So, within each language, go to Content > Homepage, select that language’s custom layout, and save that language’s options page. Again, you do that process for each language.

Is any of that unclear? Simply let me know what doesn’t make sense to you.

From what you were describing, it sounds like you were only partially doing step 2 and not doing step 4.

Also, in your screenshot, it doesn’t appear you were logged into an administer-level account, which will be needed to edit your Theme Options and custom layouts. I’m not sure if this is relevant, or if you were simply wanting to hide elements in the screenshot, but if you do need to Theme Options and the Layout Builder to show up for other user levels, this is possible through Child theme customization. — http://dev.themeblvd.com/tutorial/changing-user-role-access-for-admin-modules/