Author: WPML and Newspaper Author Incompatibility

Posted in: Newspaper
Post count: 16

Hey there,

We have created a custom layout page to list our authors at the site.. (https://blog.turkishairlines.com/en/authors/)
However, it is not functioning as expected when language is changed.. We translated author lastname (included title) and bio description by WPML string translation.. Even though Bio Desc is published as it is translated, Last Name is name field is not showing the translated string..

In addition to that, when we click on one of the authors on Turkish version, the turkish URL still contains author slug, (https://blog.turkishairlines.com/tr/author/elifdegirmenci/) it is supposed to be “yazar” in turkish..

Please advice and help us to solve below problems;

On list page of Turkish version: https://blog.turkishairlines.com/tr/yazarlar/

  • Last name string is not showing as it is translated..
  • Author Page URL contains english, it is supposed to be author > yazar

On the author page of Turkish version: https://blog.turkishairlines.com/tr/author/elifdegirmenci/

  • Last name string is not showing as it is translated..
  • Author Page URL contains english, it is supposed to be author > yazar
  • Author post count is wrong cause it is also counting the translated ones. If we cant distinguish this, how can we hide that block?
  • Author Bio description loads in english even though it is translated..
  • This topic was modified 5 years by Dincer.
Post count: 20688

Hi,

Let’s take these one at a time, to avoid misduerstandings.

In this page – https://blog.turkishairlines.com/en/authors/
I see the biography is indeed translated, but the author name is not it seems. There could be an issue there, I will have to test this on my end as well, and if the same happens I will notify the developer team immediately.

In an author page I see the that the biography and the name are not translated
https://blog.turkishairlines.com/tr/author/elifdegirmenci/
https://blog.turkishairlines.com/en/author/elifdegirmenci/
It should be changed if you used the string translation to translate it. I will test this as well.

Regarding the post count, I believe it will count all the posts the author has posted on the website. If you do not want this to happen, there are ways. I could either provide a solution for the author box you are currently using, or maybe you could use other elements in the author template instead of the author box
https://i.imgur.com/oO2NYXU.png

Regarding the author base in the URL, I don’t think WPML can translate it
https://wpml.org/forums/topic/author-url-is-not-translated/
You could try the solution provided there, if you would like o change the author base in the permalink.

I will be testing to see how it is on my test install, mainly the author name and bio. These should be changed if they are translated in the string translations in WPML. maybe there is a problem with it however. If I missed something let me know.

Thank you!

Post count: 16

Yes Simion, all correct.. According to these issues, we will be waiting for your test results and guidance for solutions..

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.