• Resolved Diplo

    (@diplo)


    Hello,

    Today I discovered a nice surprise: while creating a page to display all the authors contributing to a site, it became apparent that Multilanguage Switcher doesn’t translate user profiles: is there a way to do it? Would be nice to display the bio of every author in the blog’s language.

    Thanks!

    https://ww.wp.xz.cn/plugins/multisite-language-switcher/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    It is a known issue. The WordPress multisite uses the two user tables – wp_users and wp_usermeta – in the whole network. You could just add a new field for the bio of a user in a different language …

    Something like that I made in another plugin. I just added a function there so you can print out the bio of a user in this way if you’d like to give WP-Whoami a try:

    if ( function_exists( 'the_whoami_bio' ) ) the_whoami_bio( $user_id );

    Let me know what you think about this.

    Cheers,
    Dennis.

    Thread Starter Diplo

    (@diplo)

    Great tip Dennis. The theme of the site already has been chosen, so adding the field in the user_meta sounds perfect. Thanks indeed!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘User profile translation’ is closed to new replies.