• Hi there,

    I’m unable to translate the author archive title “author” mention before the name of the author.

    From what I can tell, the “Author: %s” item is called at line 1800 in co-author-plus.php

    /* translators: Author display name. */
    return sprintf( __( 'Author: %s', 'co-authors-plus' ), $author->display_name );


    But even if the “Author: %s” is translated in the co-authors-plus .mo file, there is no effect. The title is always in english with the “Author :” before the name of the author.

    What do I miss?

    Thanks.

    • This topic was modified 4 months, 2 weeks ago by vastesj.
    • This topic was modified 4 months, 2 weeks ago by vastesj.
Viewing 2 replies - 1 through 2 (of 2 total)
  • audunmb

    (@audunmb)

    I have the same issue, but found a solution. If you are using a block theme it is a theme issue where the Author template doesn’t use the correct string (neither from WP nor the plugin).

    Check whether title (on the tab in your browser) uses the correct string? If that string is translated, then it’s an issue with your theme.

    Turn of the “Show archive type in title” to hide the untranslated string as a workaround. Optionally add a text block to the page to get it to say “Author” in your language.

    audunmb

    (@audunmb)

    Actually, I was wrong. Co-Authors Plus overrides the “Show archive type in title”-toggle and shows it anyhow.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.