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

Last updated by Andreas W. 1 year, 1 month ago.

Assigned support staff: Andreas W..

Author Posts
May 13, 2019 at 2:51 pm #3799583

Martino

I'm looking for a way to tranlsate the user avatar: I was able to translate the user description and some other custom fields but not the actual avatar.

May 13, 2019 at 8:53 pm #3801529

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for contacting WPML Support.

Thank you for contacting the WPML support forum.

Let me, please ask you a few initial questions.
Is this avatar section in your site part of your theme or a certain plugin?
Did you search for those strings in WPML -> Strings Translation?
If you can not see those strings there then, please scan for strings in themes and plugins in WPML -> Theme and plugins localization.
After the scanning, you will be able to find then in the Strings Translation screen.

If the strings will not be availble please select the option "translate text in admin screens" at the bottom of the string translation screen. As I suppose that the avatar is part of the theme try to locate it inside the domains for the theme (Example: thememod_theeatculture).

If there will not be any string available for translation it might be that the theme authors did not consider this element to be translatable or the element is not proper wrapped into a GetText call. More information here:
https://wpml.org/faq/language-setup/

Let me know if you need any further assistance.

Kind regards
Andreas

May 14, 2019 at 8:51 am #3804897

Martino

Hi Andreas,
thanks for the reply.

We are using a plugin, "simple local avatars", to be able to use images in the media library as avatars. I can't find a string to translate the user avatar anywhere. I tried in "translate text in admin screens" but with no luck (see attached images).

Since we are rolling out a new custom theme we could use ACF image field: I tried using it as a field for the user. I'm able to upoload the image and retrieve it on the front end but still no way to translate it.

Thanks for looking into this.

May 14, 2019 at 3:05 pm #3808503

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

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

Kind regards
Andreas

May 21, 2019 at 3:38 pm #3856867

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for your message.

I am able to locate the lliteral strings of the plugin after scanning the plugin for new strings at WPML -> Theme and Plugin Localization. the strings are register under the domain WordPress as they are part of the WordPress profile options.
(See screenshot)

The Avatar Images are based on the Media Gallery. Those images are able to be translated with our Media Translation Plugin.

What exactly are you trying to achieve? Do you want to use different Avatar Images in different languages? This should be possible with the Media Translation Plugin.

Kind regards
Andreas

The topic ‘[Closed] I'd like to translate the user avatar’ is closed to new replies.