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

Last updated by thomaD 7 years, 8 months ago.

Assigned support staff: Joanna.

Author Posts
May 16, 2014 at 12:38 pm #401750

thomaD

I've searched and read 5-6 other threads with the same topic.

So here I am :

I've installed wpml string.
I've added the little code

<?php
$description = get_user_meta( $user_id, 'description', true );
echo icl_translate('wpml_custom', 'wpml_custom_'.$user_id, $description);
?></p>

I can see the author bio in the wpml-string translation.
I can translate it.

Nothing appear where it's supposed to be in both languages.

May 16, 2014 at 1:33 pm #401831

thomaD

I don't know if it helps, but I have the same problem with the blog title and description.

I've added the translation, but nothing happen.

May 16, 2014 at 1:42 pm #401843

Joanna

Hello ThomaD,

Instead of your code, try this one:

<?php
	echo icl_translate( 'wpml_custom',  'wpml_custom_'.$user_id, get_the_author_meta( 'description' ) );
?></p>

Please let me know if that helped.

May 16, 2014 at 1:44 pm #401849

thomaD

OH YEAH! It works!

Can you help me with the blog title? Do you want me to open another thread?

May 16, 2014 at 1:48 pm #401853

thomaD

Oh no, it only works in one language.

May 16, 2014 at 1:54 pm #401860

Joanna

By "it only works in one language" you mean the Author's Bio? Please go to WPML->String Translation and verify if the translations are still marked as "Translation complete".

For the blog title, please open another thread.

May 16, 2014 at 2:00 pm #401868

thomaD

It shows Translation complete : hidden link

May 16, 2014 at 2:29 pm #401897

Joanna

I've tried to replicate this issue at my side, but I couldn't.

Please try also:
1. Clean your browser's cache.
2. Save the translations again.
3. Try it with different theme.

Did any of these help?

May 16, 2014 at 2:36 pm #401901

thomaD

It works now........ eh