Navigation überspringen

[Closed] Translatepress breaks view layout

This support ticket is created vor 2 years, 2 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Zeitzone des Unterstützers: Europe/London (GMT+01:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Nigel vor 2 years, 1 month.

Assistiert von: Nigel.

Author
Artikel
#2688811

I am using the Translatepress plugin to translate the website into different languages. The website also uses Toolset for custom fields, custom post types and views.

I am having an issue with the views when a page is translated. Here is the page in English, displaying correctly:
versteckter Link
However, the views break when the page is translated, and show in just one column:
versteckter Link

I know that a possible solution will be to switch to using WPML - but I wanted to check before I do that if there's anything you know that could get this working with Translatepress.

Many thanks for your help.

#2688866

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

Hi Glyn

I visited both of your links and I'm struggling to see a difference (aside from the language of the text), the layout looks the same.

Perhaps you could share some screenshots to direct us to what we should be looking at.

#2689789

Thanks for the response. If you take a look at the pages now, you'll be able to see the layout difference with the view of people. Thanks, Glyn

#2689809

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

I can see a JS error in the browser console on the French page which relates to the loading of Toolset styles on the page, which appears to account for why the grid layout is broken.

I don't know enough about TranslatePress, though, to identify why the translated page triggers the error.

I'm not sure if it will resolve the problem, but you could add the following to your wp-config.php file:

  define( 'TB_SCRIPT_STYLE_LAZY_LOAD', false );

Then revisit the French page to see if it helps.

The topic ‘[Closed] Translatepress breaks view layout’ is closed to new replies.