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 19 replies, has 2 voices.

Last updated by Marcos Vinicios Barreto 7 months, 4 weeks ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
February 5, 2019 at 6:11 pm #3163298

marcN-20

Tell us what you are trying to do? I am a first time user and usually work with the Oshine theme. But it seems like I can't get the translation to work. The editor, the theme uses is Tatsu. Will WPML work with this?

Is there any documentation that you are following? Not sure... your instructions?

Is there a similar example that we can see?

What is the link to your site? hidden link

February 5, 2019 at 6:53 pm #3163384

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting WPML Support. WPML should be compatible with almost any WordPress theme available, as long they use localized code, I mean strings wrapped in a gettext function and they follow the WordPress coding standards, it should be pretty compatible.

In your particular case I would recommend some beginning instructions so you can get started with the translation process, then you can tell us what are you speficig goals, which part of your content you are facing issues in your translation attempt and so on, here are the initial resources:

Instaling and getting started:

https://wpml.org/faq/install-wpml/

https://wpml.org/documentation/getting-started-guide/

Translating page builders content:

https://wpml.org/documentation/translating-your-contents/page-builders/

Translating theme strings:

https://wpml.org/documentation/getting-started-guide/string-translation/

Please, let me know if you need any additional clarifications from our side, I am happy and ready to help you, have a nice day.

February 6, 2019 at 12:49 pm #3165530

marcN-20

Hello and thank you

I went through it and found that the pagebuilder I use (Tatsu) is not in your list of pagebuilders. I am not really a coder so I am looking for an easy way to translate the site for a client that I hapend to have built with Tatsu. Is there a way we can fix this or will I need to keep looking for alternative translation tools?

thank you for your help!
Lars

February 6, 2019 at 2:02 pm #3165920

marcN-20

Hello again

Meanwhile I followed these steps: https://wpml.org/documentation/support/wpml-integration-with-page-builders-that-use-shortcodes/

Using this xml provided by Otto: https://wpml.org/forums/topic/using-the-tatsu-page-builder-in-oshine-theme-wpml-doesnt-work/

And uploaded it into my parent theme - still without sucess.

Can you help?

Cheers
Lars

February 6, 2019 at 6:25 pm #3167161

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

February 7, 2019 at 1:46 pm #3170496

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. You have two options to translate your theme when using page builders:

1 - Using the WPML Standard Translation Editor:

If your page builder is based on shortcodes as the tatsu seems to be then you can enter custom xml code to make these shortcodes translatable when using the WPML Standard Translation Editor, here is the complete workflow:

1.1 - Make sure you have the option 'Use the Classic Translation Editor' is checked from your WordPress Dashboard > WPML > Settings > How to translate posts and pages

1.2 - In your WordPress Dashboard > Pages click to edit the page you need to translate in order to see the page builder shortcodes entered in the page. Here you would need to install the WordPress Classic Editor (https://wordpress.org/plugins/classic-editor/) in order to make it easier to see the page builder shortcodes.

1.3 - Register all the shortcodes for your page content in your WordPress Dashboard > WPML > Settings > Custom XML Configuration. I see you placed the shortcodes registration in the root of your child theme, I recommend to place it in the Custom XML Configuration field instead.

1.4 - Now you should be able to add a translation and translate your content using the WPML Translation Editor. See https://wpml.org/documentation/translating-your-contents/page-builders/ to see how to proceed in adding the translations for your pages.

See this ticket for reference: https://wpml.org/forums/topic/page-translation-with-tatsu-builder/

2 - Using the WordPress default page/post editor:

This should be a simple approach and you don't need to deal with any page builder shortcode registration, instead you can create a duplication of the page in the default language and edit the duplicated pages using the WordPress default page/post editor, exactly as you did with your original page. Please, try the following:

2.1 - Make sure you have the option 'Create translations manually' is checked from your WordPress Dashboard > WPML > Settings > How to translate posts and pages

2.2 - Click to edit the page you need to translate from your WordPress Dashboard > Pages.

2.3 - At the page editing screen click to duplicate it from the language box (see attached screenshot). See: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/using-content-duplication/

2.4 - Now you should be able to edit the duplicated page content using your page builder exactly as you did with your original page.

Please, let me know if you need any additional clarifications. Have a nice day.

February 7, 2019 at 4:30 pm #3171341

marcN-20

Thank you.... while this looks super comprehensive and promising I still can't get there.
Adding this (https://wpml.org/forums/topic/using-the-tatsu-page-builder-in-oshine-theme-wpml-doesnt-work/) into the Custom XML Configuration gets accepted but there is no change in the translation editor.

What am I missing?

Also following your second lead: I can't click into the duplicate box. I would prefere your first solution anyhow - but somehow I still don't manage any of them...

February 7, 2019 at 4:49 pm #3171551

marcN-20

Here is another observation: If I just work my way through - finding the parts in the shortcode that need translation pretty much manually - and then save the page, the look gets altered - it seems like a different template then. the translation works but there is no header image, no menu and no wide layout...

am I getting closer or more hopeless?

February 8, 2019 at 5:55 pm #3176503

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. Let's proceed step by step in your issue resolution, regarding your points:

1 - "Adding this (https://wpml.org/forums/topic/using-the-tatsu-page-builder-in-oshine-theme-wpml-doesnt-work/) into the Custom XML Configuration gets accepted but there is no change in the translation editor."

Most likely it happens because the shortcodes used in your content differ the shortcodes mentioned in the provided ticket. In this case you need to find the used shortcodes one by one and update your custom XML conde to reflect your shortcodes names.

2 - "I can't click into the duplicate box. I would prefere your first solution anyhow - but somehow I still don't manage any of them..."

As you are havind a hard time trying to make the shortcodes registration to work, I really recommend you to try the duplication approach it works pretty simpler than shortcodes registration and for your particular case it seems to be the best solution for now. Did you try it? What happen when you try to duplicate your content according the mentioned instructios from my previous reply?

3 - "If I just work my way through - finding the parts in the shortcode that need translation pretty much manually - and then save the page, the look gets altered"

Does it happen when you try to edit the page builder blocks in the secondary languages? Please, give me more details regarding it so I can understand what's going on in your particular case.

Rest assured we'll be working together in your issue resolution, I will do my best for that. Have a nice day.

February 9, 2019 at 9:51 am #3178171

marcN-20

Hey

1 and 3: Some of the fields seem to work - but the translated sites either don't use the standard template - so suddenly things like the page title get displayed (which they don't in the original) and the page is no longer in a wide layout. Since I am not supposed to edit the translated page other than in your translation editor I cannot make sure it uses the proper template. Or is it that due to the incomplete assignment of Tatsu shortcode the needed information about the layout doesn't get transported?

2: As I said - I cannot click into the duplicate box. So yes - I tried but I cannot activate this box.

The access I provided is still active - the demo site I am using is named "translate-demo". Could you check what's my mistake?
I am happy with any solution - shortcode or duplicate. But at this point, WPML is not working on Tatsu for me...

Sorry for the lack of experience here - I guess I was expecting this to be much easier.

Cheers
Lars

February 11, 2019 at 6:09 pm #3184822

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates and sorry for the bit of waiting here. Can you please, confirm if you are able tor each the wp-admin side of your website? I tried to access it to enter your WordPress Dashboard but I always get a 'Service Unavailable' message. Maybe you should contact your host in order to fix it, so, we can proceed with our support efforts. Thank you for your collaboration, have a nice day.

February 12, 2019 at 9:07 pm #3190985

marcN-20

Hello

As long as we stay within the time limit to get a refund in case we would fail to make it work, I am good.

But I tried logging in both from Safari and Chrome and had no problem. Could you try again, please?

February 12, 2019 at 9:12 pm #3190991

marcN-20

Or could I resubmit the login info in case I made a mistake there?

February 13, 2019 at 2:48 am #3191694

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. I could translate the WPML Test Page using your page builder + WPML successfully using the provided workflow. See:

German Version: hidden link
English Version: hidden link

I will update you in the next hours with a detailed tutorial on how to achieve the same steps. Thank you for your patience and collaboration, have a nice day.

February 13, 2019 at 9:45 am #3192928

marcN-20

Hey

Since you seem to be in Bahia - muito obrigado! This looks promising. The translation appears to use a more proper template. The only thing that's missing in your example is the menu on the English page (I tried to turn on the language switcher so I could toggle between German and English and it all looked pretty good except for the missing menu).