This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 25 replies, has 3 voices.
Last updated by Alejandro 3 years, 11 months ago.
Assisted by: Alejandro.
| Author | Posts |
|---|---|
| November 16, 2021 at 12:31 pm #10006201 | |
|
martijnB-10 |
On my second test website which I created this morning (different domain, different database, new WP installation) the following versions are installed: I have installed Avada, Avada Builder and Avada core on your Sandbox. All the most recent versions. The problem occurs there too following the instructions on this link https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/ (page Test EN) Then I tried again (page test 3 EN, but on the Spanish page I got the message “reload site? Changes you've made may not be saved” when I clicked "Translate independently" (screenshot) To install everything, I used my Avada license key. I removed this from your site because I'll need it for my production website later |
| November 16, 2021 at 1:59 pm #10006911 | |
|
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hm, this is weird. look at this: hidden link i tried so many tests and nothing, i couldn't see the issue, i tested on your site as well, and nothing, the problem wasn't there. however it's present here: hidden link it's the only place where it is present and i'm trying to get the steps to recreate the problem. can you tell me if i did something different from what you did on the test where the problem does appear (on the sandbox)? |
| November 16, 2021 at 2:29 pm #10007199 | |
|
martijnB-10 |
In your video I see that you are just creating a page. Creating an English page and making a Spanish copy works fine. But when I edit the English page and then open the Spanish one, I get the error message. (page “test 4 en” at hidden link) |
| November 16, 2021 at 2:44 pm #10007403 | |
|
martijnB-10 |
Something else: in your video, on the original language page in the box “translation manager” you click “Translate”. According to https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for- different-pages/ this should be "Duplicate" (this is what I did....) |
| November 16, 2021 at 4:39 pm #10008147 | |
|
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Alright, i can confirm nothing bad will happen if you see the warning in your specific scenario where you actually want to manually translate a page. i have escalated the case to our developers so we can determine if we can improve this workflow since it seems like it's expected but it might be a bit misleading. Regards. |
| November 16, 2021 at 5:06 pm #10008269 | |
|
martijnB-10 |
Dear Alejandro, If you can guarantee that nothing goes wrong this way with the manual translation, I it's fine by me. Tomorrow I will make another completely new WordPress installation with WPML and Avada and start building the website for my client. please keep me informed about your decision to fix this in a future release so it wil be solved by an update. Best Regards, Martijn |
| November 17, 2021 at 9:29 am #10012509 | |
|
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Yes, i can guarantee it. as i mentioned before that warning is meant to be shown when the translation editor is enabled. its purpose is to warn the users that they are using a translation editor so they should NOT modify things manually but using the translation editor. that is not your case, so we're figuring out why you're still seeing that notification, but it will not create any issues on your end. I'll change the status of the ticket so it's not closed in case we find out what this is and how we can fix it. |
| November 17, 2021 at 12:50 pm #10014505 | |
|
martijnB-10 |
Ok, thanks for your help in this matter! |
| November 17, 2021 at 2:23 pm #10015157 | |
|
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
We found a workaround for you, in the meantime we fix this permanently: Edit the file wp-content\plugins\sitepress-multilingual-cms\vendor\wpml\tm\classes\notices\wpml-tm-post-edit-notices.php line 131 Then find:
}elseif ( $this->is_waiting_for_a_translation( (int) $this->post_status->get_status( $post_id, $trid, $lang ) ) ) {
Replace it with
}elseif ( WPML_TM_Post_Edit_TM_Editor_Mode::is_using_tm_editor( $this->sitepress, $post_id ) && $this->is_waiting_for_a_translation( (int) $this->post_status->get_status( $post_id, $trid, $lang ) ) ) {
that should remove the notification if you're not using any translation editor (remember to use turn the "translation editor" switch off before translating a page) |
| November 18, 2021 at 2:18 pm #10023625 | |
|
martijnB-10 |
Thank you for your message. I edited the file, and the message is gone. Everything else works fine. Many thanks for the workaround. |
| November 18, 2021 at 3:13 pm #10024053 | |
|
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Awesome! hopefully we will be in time to add this solution to WPML 4.5.2 but right now you can keep working normally. I'll proceed to close the ticket but you can reopen it or open a new one if needed. Have a lovely day! |
