• Hi,

    I set translations for this plugin. It works fine, when I change language through Settings -> General, but when I change language through Users -> Profile, then everything is translated beside of avatar ratings. Do you have an idea how could I fix it?

    I added translations through plugin Loco Translate and I added in my theme this code:
    if (is_plugin_active('simple-local-avatars/simple-local-avatars.php')) {
    load_plugin_textdomain('simple-local-avatars', false, WP_CONTENT_DIR . '/languages/plugins');
    }

Viewing 1 replies (of 1 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    @katarzynapa Thanks for this report. Looking into this, this does appear to be a bug. When WordPress tries to determine which language a user has, it waits until the user object is initialized. The problem here is where we have these avatar rating strings, these are loaded prior to that. So they won’t be translated based on the user’s language setting since that’s not available yet.

    We’ll look at getting this fixed in an upcoming release.

Viewing 1 replies (of 1 total)
  • The topic ‘Translation of ratings doesn’t work for user language’ is closed to new replies.