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.

This topic contains 2 replies, has 2 voices.

Last updated by vasils 1 year, 2 months ago.

Assisted by: Waqar Ali.

Author Posts
March 19, 2024 at 9:07 pm #15428913

vasils

Hello I am translating this website and run into the problem of this plugin, not showing the translation correctly on the front-end. The strings are from domain elementor-5715 and their titles are: title-heading-2699e3c and
title-heading-9eaf14c

By trying to find information about this I only found

Open …./wp-content/themes/bricks/includes/elements/svg.php file.
Look for line 134.
Replace:
1
$svg_path = get_attached_file( $this->settings['file']['id'] );
With:
1
$svg_path = get_attached_file( apply_filters( 'wpml_object_id', $this->settings['file']['id'], 'attachment', FALSE ) );

Im guessing I need to apply a similar approach to this but I am clueless where to look for in the plugin files. Please assist me in fixing this.

Thank you in advance!

Regards, vasils

March 20, 2024 at 7:20 am #15429582

Waqar Ali

Hi Vasils,

Thank you for contacting us and I'd be happy to assist.

The Elementor header and footer elements can be translated the same way as its other global widgets:
https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

In case the translation doesn't work, I'll need to see how WPML and these Elementor items are set up in the admin area.

Please share temporary admin login details, along with the exact steps to see the issue.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

March 20, 2024 at 10:25 am #15430342

vasils

UPDATE: Just found out that the header is a template of Elementor pro, not from this builder... excuse my mistake. I am not sure what is stopping the strings from showing. The string for ОНЛАЙН МАГАЗИН. in the header is also not showing correctly.

March 20, 2024 at 3:30 pm #15432710

vasils

I managed to find the template in translation management. Did not notice there were the templates and translated them automatically. Now it is showing correctly. You may close the ticket