Skip Navigation

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.

Our next available supporter will start replying to tickets in about 1.33 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - - 9:00 – 18:00
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 15 replies, has 2 voices.

Last updated by John-Pierre Cornelissen 1 year, 3 months ago.

Assisted by: Christopher Amirian.

Author Posts
November 12, 2022 at 2:24 pm #12444891

John-Pierre Cornelissen

I added the info.

In the referred ticket, Andrès encourages to move to the Advanced Translation Editor. Nowadays, that is also my preferred editor because it has it's own translation memory. However, when you work with a translation agency, either connected as a service to WPML (I use TextMaster) or by exporting/importing XLIFF files, then all their translations are stored in the Classic editor format, meaning you are stuck with the classic editor.

What I am trying to say is that when you prefer people to use the ATE, you will need to make the classic editor and the ATE compatible. That should probably start with ensuring that XLIFF exports/imports contain the exact same translation units (sentences) as the ATE. And then allow us to edit them with the ATE.

Is that something that is one the roadmap?
(I have already submitted that as a request a long time ago)

Thanks.

November 12, 2022 at 2:36 pm #12444967

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Let me explain what the Classic Editor is:

It is a PHP tool inside WPML and inside your WordPress installation. It works as a part of the WPML plugin codebase and is a legacy one and will not be updated.

Now the Advanced Translation Editor:

It is a CAT tool (https://wpml.org/documentation/translating-your-contents/using-desktop-cat-tools/) that resides on wpml.org servers and it is outside of WPML codebase and is not inside your WordPress installation.

The fact that it resides on wpml.org servers, gives it the ability to create a translation memory and connect to automatic translation engines such as DeepL.

Those two tools are IN NO SHAPE OR FORM compatible and WILL NOT be compatible in the future.

The whole point of the Advanced Translation Editor is to provide an alternative to give a better experience.

Now that we established that the two tools WILL NOT be compatible let me give you the way that you can force the translation service to use Advanced Translation Editor.

- You will need to select ATE as the default translation editor
- You will need to disconnect the translations of your pages and delete the translations done by Classic Editor
- You will need to do the translation from scratch with Advanced Translation Editor.

So here are the steps:

- Go to "WPML > Settings > Translation Editor > Editor for new translations" and select "Advanced Translation Editor (recommended)"
- Go to "WPML > Settings > Translation Editor > Editor for translations previously created using Classic Translation Editor" and select "Advanced Translation Editor".
- That option will FORCE all old translations to work with Advanced Translation Editor and that means you will lose the previous translations that you have done with Classic translation editor and you need to do it from scratch with Advanced Translation Editor.
- Do a change on the page for the original language.
- Now if you click the translation the ATE will show.
- Now if you send the XLIFF for the translation service the result will come back in ATE.

Warning:I want to make sure that you understand that you will LOSE whatever you have done with Classic Editor and that is inevitable. Because CTE and ATE are NOT compatible dure to the reason I explained above

I hope I made everything clear for you.

November 13, 2022 at 11:29 am #12447719

John-Pierre Cornelissen

Thanks for explaining. I think I chose the wrong wording in asking to make the classic and advanced translation editor compatible. It doesn't make sense and is not what I meant to say. I meant that the XLIFF file and connection to translation agencies (like TextMaster) should be compatible.

If I correctly understand your explanation then that's exactly what WPML does, but let me make sure that if I choose the ATE as my preferred editor the following will happen:

1) An export/import of an XLIFF file will use the ATE format? And when I make a small change in the source language and then edit the translation myself, this will happen in the ATE (and not classic)?

2) If I connect TextMaster as a translation agency/service and let them translate, I get the translations back in the ATE? And when I then make a small change in the source language and edit the translation myself, this will also happen in the ATE (and not classic)?

--

I understand that old content would need to be translated from scratch.

To permanently move away from classic, WPML would need a translation alignment feature to convert and match pre-existing source/target translations. 20 years ago Trados already had such a tool, see here: hidden link

Thanks
JP

November 14, 2022 at 1:24 pm #12454591

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

1) That is correct.

2) Yes but first you need to do a small change in the original language to see that now ATE is activated when you click on the translation.
Then yes as you change the original language a new job ID will be generated and if you send that Xliff file it will be ATE based.

I suggest that you test it for one page with the translation service and see the result.

Thank you for your last comment, but as I mentioned it is not possible and you will need to do the translation from scratch. I made myself clear about that.

Thanks.

November 14, 2022 at 1:32 pm #12454683

John-Pierre Cornelissen

That's awesome, I'll prefer to work with the ATE. Thanks for confirming.

I tried to test that, but the exported XLIFF is invalid.

- WPML is set to use the ATE for new translations.
- I created this page with only 4 sentences hidden link
- I added the page to the basked and sent it to the first available translator
- Then I went to WPML » Translations and exported to XLIFF format 1.2.
- If I open that file, it doesn't contain the sentences that need to be translated. I also tested on another site, same issuse

I can't upload the file here so I copied the contents below.

- If I try to translate manually it opens the ATE with the correct sentences.

===============================

I know WPML can't do translation alignment. I mentioned this as a which / feature request.

===============================

-------------------------------
----- Content of xliff file ------
-------------------------------

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"><file original="-d41d8cd98f00b204e9800998ecf8427e" source-language="" target-language="" datatype="plaintext"><header><phase-group><phase phase-name="shortcodes" process-name="Shortcodes identification"><note>wp_caption,caption,gallery,playlist,audio,video,embed,wpml_language_form_field,wpml_language_switcher,wpml_language_selector_widget,wpml_language_selector_footer,wpml-string,digg,stumble,facebook,twitter,feedburner,retweet,protected,box,tooltip,learn_more,button,slide,tabs,tabcontainer,imagetabcontainer,imagetabtext,tabtext,tabcontent,tab,imagetab,author,author_image,author_info,pricing_table,custom_list,pricing,feature,dropcap,testimonial,quote,one_half,one_half_last,one_third,one_third_last,one_fourth,one_fourth_last,two_third,two_third_last,three_fourth,three_fourth_last,et_pb_section,et_pb_fullwidth_header,et_pb_row,et_pb_column,et_pb_blurb,et_pb_button,et_pb_image,et_pb_text,et_pb_testimonial,et_pb_gallery,hb_booking_form,hb_availability,et_pb_code,et_pb_map,et_pb_map_pin,contact-card,caldera_form,hb_rates,et_pb_fullwidth_map,et_pb_accordion,et_pb_accordion_item,et_pb_sidebar,call_to_action,newsletter,tours_shortcode,cta_button,woocommerce_thankyou,woocommerce_shop,table,custom_profile,symple_heading,row,tagcloud,sform,nano,add_eventon_list,che,era,essa,nel,gli,per,come,anima,ella,quel,show_gd_mylist_btn,su_spoiler,email,vul,wpv-view,wpv-post-field,accordion_item,citation,foogallery,user-submitted-posts,chronologie,adresse,get_unit_label,get_reference_label,woocommerce_api_manager_lost_api_key,wp-knowledgebase,testimonials_slider,rpwe,posts,nowotworu,intima-media,dostarcza,standaryzowany,jako,czarny,ekstrakt,kwas,std,dwuwodzian,stm_icon_box,ess_grid,rev_slider,linkview,permalinklist,testimonial_slider,woocommerce_software_lost_license,text-blocks,wp_sitemap_page,wcmp_vendor,vendor_registration,efsrow,efscolumn,efsbutton,md_rev_slider,md_live_text,md_imagebox_full,flagallery,pbr_quicklinksmenu,rev_slider_vc,opalhotel_reservation_form,pbr_title_heading,pbr_testimonials,embedyt,yith_wcwl_wishlist,wcm_content_restricted,feature_box,woocommerce_en_check,wc_box,wc_row,wc_column,wc_fullwidth,wc_center,wp_social_sharing,infoboxes,testimonials,woocommerce_social_media_share_buttons,wcv_vendor_dashboard,wcv_shop_settings,wcv_orders,inplayer,useyourdrive,wp_blog_designer,us_blog,tt_address,tt_dashboard,envira-gallery,hotspotitem,woocommerce_klarna_checkout,wpml_mailto,contact-field,ux_banner,advanced_iframe,siteorigin_widget,ec_store,simpay_payment_receipt,su-mensaje,borlabs_cookie,contact_info,stm_boats_video,packages_orderdata,yith_ywraq_request_quote,woocommerce_pay,supsystic-tables,clean-login,pdf-embedder,insertgenerator,youzer_register,wysija_form,customer-area,customer-area-dashboard,customer-area-private-files-home,customer-area-private-files,customer-account-home,customer-area-account,customer-area-logout,bookly-form,bookly-cancellation-confirmation,stm_classic_filter,popup_trigger,mainwp_archived_lists,wcv_vendorslist,dotpay_content,formularz,cyberactive_school_courses_selection_form,cyberactive_school_session_timeout,ditty_news_ticker,donationcampaign,das-list-events,event_embed,sectiontitle,learn_press_profile,ticket-submit,tickets,aanduiding,datum,thim-icon-box,ngg_images,wpdomainchecker,visualizer,mk_page_section,rssreviews,animate_this,simple-sitemap,gravityform,stm_tech_info,fep_submission_form,ucaddon_diagonal_event_box,wcv_feedback_form,newsletters_management,wcv_pro_dashboard,tm_pb_section,wwof_product_listing,res_map,jssupportticket,socialbar,socialbar_service,front-end-pm,stm_sidebar,give_receipt,donation_history,simpay_error,tm_pb_contact_field,jwp,woocommerce_checkout,mk_custom_list,sg_popup,icon,extra_wrap,frontier-post,invierno,appbox,highlight,ci_alert,vc_mad_products,dt_list,geoip-continent,geoip-country,geoip-region,geoip-city,geoip-postalcode,geoip-latitude,geoip-longitude,geoip-location,woocommerce_notices,post-timeline,private-message,ga_optout,manage_serial_key_usage,ut_header,site_name,bfname,order_id,menu-country,menu-prefer,accordion-item,mini-icon,gvlogic,stm_gmap,contact-form,iconbox,woocommerce_my_account,super_form,wpdm-all-packages,photoblocks,ginger_reset_cookie,su_divider,fbl_login_button,gmw_single_location,one_full,recent_products,endif,jours,wpuf-login,lyte,product_table,wpuf-registration,wpuf_dashboard,amazon,member-pricing-table,rozinky,add_to_cart_url,srizonfbgallery,cl-itext,icon_counter,text_block,vtftable,header_static,bookingcalendar,flexslider,anova-geoip-meta,zp_vc_slideshow_element,zp_scrollto,my_calendar_upcoming,wpv-post-url,fusion_button,su_tab,freeconsultation_technical_forum_link,vc_images_carousel,otgs_logo_url,wpv-conditional,teaser,dt_fancy_image,fusion_tagline_box,contact_us_add,content_box,tagline_box,us_iconbox,fusion_tab,fisicamente,one_half_sidebar,action-btn,invicta_contacts,pricing_price,icon_link,slideshow,vcex_milestone,secondary-demo,vh_pricing_table,category_name,blogurl,q_team,tab_nav_item,et_pb_cta,et_pb_circle_counter,et_pb_contact_field,et_pb_contact_form,et_pb_number_counter,et_pb_post_nav,et_pb_pricing_table,et_pb_tab,et_pb_toggle,et_pb_counter,et_pb_countdown_timer,et_pb_login,et_pb_team_member,et_pb_post_slider,et_pb_search,et_pb_slide,et_pb_signup,et_pb_fullwidth_post_slider,et_pb_fullwidth_image,et_pb_fullwidth_portfolio,et_pb_audio,et_pb_line_break_holder,et_pb_blog,et_pb_fullwidth_post_title,et_pb_slider,et_pb_fullwidth_menu,et_pb_social_media_follow_network,et_pb_video_slider_item,et_pb_video,et_pb_wc_add_to_cart</note></phase></phase-group></header><body/></file></xliff>

November 15, 2022 at 7:06 am #12459925

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I'd appreciate it if you can give us the login information to the staging website so that we also can check that?

If the new page sentences are not there in the XLIFF file it is another issue that needs to be investigated.

Kindly set the next reply as private.

Thanks.

November 16, 2022 at 1:38 pm #12473677

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I tested and it worked with no issues, the sentences are there in XLIFF file at the end. Please check the screenshot

Here are the steps:

- Go to WP Dashboard > Pages and go to the page edit screen.
- Change something in the original language and make sure ATE is enabled.
- Go to WPML > Translation Management
- Select the page in question and click the blue button at the bottom.
- Go to the Translation basket.
- At the bottom of the screen make sure you select FIRST AVAILABLE instead of TEXT MASTER for all languages.
- Click the blue button.
- Go to WPML > Translations.
- Select the translation you want (for example Nederlands » Duits pair)
- At the bottom click the export button.
- It will give you a zip file with all the job IDs
- Open the latest Job ID and you will see that the changes reflect int he XLIFF file.

Thanks.

Screen Shot 2022-11-16 at 17.03.16.png
November 16, 2022 at 2:59 pm #12474391

John-Pierre Cornelissen

Mmm I don't understand, those are the exact same steps I described and my export didn't get the sentences in the export.

I did it again and I receive them now. I am not so sure this export is compatible with the ATE.

The export contains a single package string for the entire paragraph. Not separate sentences like you get in the ATE.

I quickly translated my export with poedit and imported it, that works fine.

HOWEVER, when I now try to edit the translation, it opens the ATE WITHOUT the translations.

Here is a screen recording: hidden link

Is there something I do wrong or is the XLIFF export/import not compatible with the ATE as I originally thought?

Thanks
JP

November 17, 2022 at 10:13 am #12480419

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I added a new test page and actually translated with ATE and it works and exported the XLIFF file and the format is as below:

hidden link

As you can see the original text and the translation shown in the XLIFF file. I just added EN at the end of the texts.

I suggest that you contact the translation service that you use and ask them if the support the method and if it is compatible with ATE.

You can send the XLIFF file that I shared and ask them if that is the format that you will get.

Thanks.

November 17, 2022 at 11:29 am #12481267

John-Pierre Cornelissen

I think you don't understand the use case.

You translated the page in the ATE and then exported it to XLIFF. That is not how it works when you use a translation service.

The use case is this:
- I have a Dutch text
- I export the XLIFF and have it translated to English
- I import the translated XLIFF back into WPML
- Then I change the price of an item in the Dutch source
- So I open the ATE to also update the price in the translation
- The ATE does not show the previous translations

Just have a look at my video.

November 20, 2022 at 9:41 am #12498445

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you. You are right I misunderstood the use case.

I asked the second tier about this and here is their response:

Consider XLIFF Import/Export method a separate tool that is not related to the editors.

So basically those are not compatible. You will need to decide for each page which method you want to work with and stick with it.

So if you want to send content to TextMaster, you will not be able to later edit the translation with Advanced Translation Editor.

Thanks.

November 20, 2022 at 11:25 am #12498553

John-Pierre Cornelissen

Hi,

Then were are back at my original statement and question:

If you encourage people to use the ATE and move away from the legacy classic editor, then you will need to make sure that professional translations via XLIFF or via WPML connection to a translation service are compatible with the ATE.

I do understand it's not possible now because XLIFF/Connections use the old code base inside the wp plugin and that the ATE uses a difference code base on your servers, but of course that can change. That's what software development is all about.

So, is that something that is one the roadmap?
(I have already submitted that as a request a long time ago)

Thanks
JP

November 21, 2022 at 7:15 am #12501545

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I checked our issue tracker and there is no such thing on the road map.

If you are interested I can ask for a feature request.

Our team will take that into consideration and we will get back to you with the update if it is approved or rejected.

If you are interested then I can go forward with the process.

Thanks.

November 21, 2022 at 7:46 am #12501639

John-Pierre Cornelissen

Yes please, I'd like to submit this as a feature request.

The request should already be there though. I requested it before on the special feature requests page that used to be there.

Thanks you
JP

November 21, 2022 at 3:31 pm #12505339

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

The feature request is submitted. I will inform you of the status of the approval as soon as I have news.

Thank you.