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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Ahmed Mohammed 1 year, 7 months ago.

Assisted by: Ahmed Mohammed.

Author Posts
May 18, 2023 at 1:12 pm

markD-52

Can we translate “Our Professionals” in the banner when looking at the professionals' profile? hidden link

May 18, 2023 at 2:12 pm
May 19, 2023 at 11:52 am #13678951

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi Mark,

I appreciate the patience while I was looking into this.

The archive title "Our professionals" isn't being translated because in the plugin "TeamPress", the string was hardcoded and not properly internationalized. This should have been done by the plugin's developer as explained here: https://developer.wordpress.org/themes/functionality/internationalization/.

You can fix this in the plugin's files but please note that when the plugin is updated, you'll need to redo the fix unless you contact the plugin's developer and ask them to fix it permanently.

Please go to: wp-content/plugins/team-press/templates/archive-team.php

Replace the following:

<div class="nectar-split-heading markup-generated animated-in" data-align="default" data-m-align="inherit" data-text-effect="default" data-animation-type="line-reveal-by-space" data-animation-delay="0" data-animation-offset="" data-m-rm-animation="" data-stagger="" data-custom-font-size="false"><h1><span><span class="inner" style="transform: translate(0px, 0px); opacity: 1;">Our</span></span> <span><span class="inner" style="transform: translate(0px, 0px); opacity: 1;">professionals</span></span> </h1></div>

with

<div class="nectar-split-heading markup-generated animated-in" data-align="default" data-m-align="inherit" data-text-effect="default" data-animation-type="line-reveal-by-space" data-animation-delay="0" data-animation-offset="" data-m-rm-animation="" data-stagger="" data-custom-font-size="false"><h1><span><span class="inner" style="transform: translate(0px, 0px); opacity: 1;">
					                                <?php
					                                _e('Our', 'team-press')?></span></span> <span><span class="inner" style="transform: translate(0px, 0px); opacity: 1;"><?php
					                                _e('professionals', 'team-press')?></span></span> </h1></div>

Then, scan that plugin in WPML → Theme and plugins localization, and you'll find the strings under WPML → String Translation, as shown in the attached screenshots.

Hope that helps 🙂

20230519 at 14.51.42.png
20230519 at 14.51.28.png