Translatepress Multilingual Integrations
Saidas Navikas
Hey Louis Reingold, why this issue isn't solved yet? I see Dimitris Kaklamanis pointed out a simple workaround which works fine. Why don't you pay any attention to this problem for more than 2 years? It's that difficult to receive any support from you? Or you just like to pretend that you help your community by asking questions about the problems and then just disappear?
M
Markus
Tested the workaround mentioned by Dimitris Kaklamanis, confirm it works. Tried to get it into a code snippet or custom plugin, did not succeed. ChatGPT suggests to make it an MU plugin which I think is the wrong approach. Still dissapointing and embarrasing to explain the client who edits the content/translation how to workaround this (especially when they come from E where it all worked previously without any problem)
For this workaround to be able to open the Translate Editor also from URLs that use a custom post template you must modify core files, which in my books is a big no go
To repeat: clicking "Translate" works on normal pages. When you have custom post types and post single template and then want to translate a post, it won't work. You need to go to an ordinary page first. Click translate to open the translate editor. Then within the translate editor navigate to the post you actually want to translate.
Dimitris Kaklamanis
there is a workaround here:
// wp-content/plugins/breakdance/plugin/actions_filters/template_include.php (line 35)
function template_include($file_to_include)
{
// initially check if TranslatePress template is loaded
if (strpos($file_to_include, 'translation-manager.php')) {
return $file_to_include;
}
// WP checks if it's robots or....
}
Dimitris Kaklamanis
Louis Reingold do you have any update on this?
Yiannis Iliopoulos can make a short example or tutorial and how do you mademake in to work it? Al, so does this have a future effect on the database that Translatepress saves the strings?
N
Nicolino
I post here with a feedback from David Nickel I finally succeeded to make translate press working as it should be with a breakdance project make with templates.
Cause problem comes from this BD issue : trnaslatepress frontend edition can be activated when in a page linked with a BD template.
By contacting TranslatePress team that takes time to control a test website I done and their conclude that translate press works fine but frontend editor couldn't work when pages are worpdress ones linked with BD templates.
If page are done directly with BD without template link TP editor works fine.
As I need to have my pages, posts and sections to continue using template link I decide to create only my contact page directly with BD.
In this way user that needs to access and use TP frontend editor have to open contact page first and begin to edit. Then in the TP editor they can navigate in whole site and this time, through the editor all website languages can be edit.
So i think this tip can help a lot of frustrated BD users as i've been so far with this issue.
And hoping that it will help Breakdance support to investigate further and fix this issue.
Y
Yiannis Iliopoulos
Nicolino: what I did for my last project was to create a page something like a sitemap with links to all the woocommerce products (template related) and I put it somewhere in the homepage so I go to this page open tranlatepress editor and then navigate easily and fast to the products I need to translate.
N
Nicolino
Yiannis Iliopoulos: yes like I did by accessing to translate press editor via my contact page done directly with BD.
It will be better for client / user experience and workaround if TP editor could be load anywhere in all pages using BD template as is it the case in Elementor. Please Louis Reingold try to investigate to make it happens.
Ryan Yuhnzi
Louis Reingold
I have built multiple websites with Breakdance and Translatepress.
The only problems I encountered were:
- no quick and easy way to create a custom designed language switcher either as a standalone element or as part of the navigation menu
(I solved this with a Breakdance code block and some php emulating a native Breakdance navigation menu for which I also added the respective inline js script, that gave me a nice dropdown)
- some dynamically loaded strings can not be recognized by translatepress, for example Breakdance's form error messages can not be translated
N
Nicolino
Hi is there any issue with TrnaslatePress ?
I was sure that it works with BD but it seems not.
I can add trnaslate press in premium mode and actuvate it to auto translate with DeepL but i can't have frontend access to check and edit trbnaaslations.
Anyone faced this issue ?
R
René van der Linden
I have an icon-list in my footer for mailaddress and 2 phonenumbers. But in translate-mode, i can only select the first item (the mailaddress). I cant select the phone number to edit these phone numbers to local numbers instead of international number.
Go Studio
If I may suggest; adding a Translatepress lang. switch to BD main menu as an option like other pages/urls, I always have to stick it somewhere in the header builder and style it in order to fit in both desktop and mobile previews.
Louis Reingold
ALL VOTERS:
Who is currently having problems with TranslatePress?
I've set this post to send a notification to EVERY voter.
There are 66 votes on this post.
You voted.
Now is your chance to describe any problems you are having.
B
Bob
Louis Reingold: i will test again tomorrow
Kristiāns Krauklis
Louis Reingold:
Small issues/problems on my side:
1."translate page" button (screenshot attached) not working for templates.
How I go around it - go to home page -> click "translate page" -> navigate to the template page.
Some strings can be hard to access in these templates from time to time as well.
2.Sometimes when translating a page with visual translator strings are loading forever and can't be accessed for translating. (Screenshot attached).
How I go around it - refresh the page and don't click anything until strings are loaded. Try more times until succeed.
3.Text elements in advanced slider sometimes can be hard to access.
How I go around it - I click all over the place and at some point it shows the translation edit marker.
4.Small nuances - for visual translator when hovering on elements (buttons most of the time) the translate marker icon disappears inside the button (screenshot attached with green button. On left side the white part is pencil icon to access the translator).
How I go around it - try to catch it clicking on a corner or play around with zoom for the browser.
Tooltip is hard to catch sometimes in order to get that translation pencil to appear in there. How I go around it - I use the dropdown on left side with all strings. (same place where in 2. point it loads forever).
B
Bob
Kristiāns Krauklis: you can also create an internal private page where you add all the texts you cannot access and translate it there, this works for forms too sometimes
Kristiāns Krauklis
Bob: Thanks Bob that's a great tip. :)
Dimitris Kaklamanis
Louis Reingold: The Translate Page button in the admin bar is not working and the editor does not load at all to be able to translate specific post.
The only workaround but it is hard to do is to create a page with a few words and try to translate and navigate to another pages through this one
M
Morten Lombardi
Louis Reingold: I can confirm that the visual translator UI does not load when templates are used.
Briana Doyle
Louis Reingold: It works properly about 50% of the time on my BD site. The automatic translation and front-facing UI works (ie switching from English to French) but in the backend, sometimes when I select 'translate page' nothing happens. I have a workaround that allows me to make changes anyway: I navigate to a page that does work with the Translatepress interface, and then keep the translation interface open while I navigate to the page I want to edit. It does allow me to make changes to the translation in that case. I can record you a Loom if it would be helpful ... I know it's a bit hard to describe. I am not using templates on my site, because I created it before the new UI kit was available and the tutorial I found said to turn off templates.
Christian Wußmann
Louis Reingold: As of today, I have the same issue others have. the TP UI won't load at all (for single posts, which are using a template), the only workaround is open it via homepage and navigate to the posts manually.
I've also tried theme activated in the BD settings (with the BD Zero theme) but that didn't do.
As many others, I'd like to do my translation by myself, so automatic once via weglot a not an option (also too expensive). So having TP or WPML (I know I know, that's another story) to work could be crucial for some projects to choose BD or another builder
N
Nicolino
Louis Reingold: Hi Louis by getting in touch with TranslatePress with now more than 3 weeks to understand what is not working with translate press and BD here are last infos (Translate Press is contacting Breakdance team to give the same feddback)
1/ TranslatePress in pro version can be installed without problems and setted in no times
2/ You can add as many languages you need in your project
3/ You can auto trnaslate all added languages using Google Translate (API) or DeepL (api) connected with TranslatePress. Personnaly i used DeepL free one and I get all my trnaslations done.
4/ YOU CAN'T use frontend manula translations IF you're using BD templates in your project (in free or pro version)
So for all those who succeeded to make TranslatePress works fine in frontend mode even using free version is due to the fact thate there are not using templates in their projects and edit each page directly in BD (never understand or will use this method especially when a website is made for users or clients that are gonna edit their websites in WP).
As i used also TranslatePress with a total success in Elementor's projects (off course using template) Breakdance is created and used in the same way it should be a setting to fix this issue and make works this most expected plugin.
I could read a lot of testimony from users who are waiting for TranslatePress to jump in BD world.
Regarding Weglot is too expensive and TranslatePress is so easy, affordable, to install / set / use for builders and users.
Load More
→