Where do I translate this phrase

Home Forums Legacy Support Support queries Translation issues Where do I translate this phrase

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #315936
    MateoArias
    Participant
    Hi, in which plugin can I find this phrase to translate with loco? https://prnt.sc/ut7790 Thanks
    #315961
    Diana
    Participant
    This is a text coming directly from wordpress It will only change when you change your site language from wp-admin > Settings > General Settings
    #315965
    MateoArias
    Participant
    This reply has been marked as private.
    #316281
    Diana
    Participant
    The above reply of mine is correct. So I was going through some articles and in this article, it is mentioned that https://wpml.org/forums/topic/cannot-translate-error-the-username-or-password-you-entered-is-incorrect/ this is happening due to the Wordfence plugin. when the Wordfence plugin is activated, its own message overwrites the default WP message, therefore, causing it to not be translatable. Due to which the string is still showing in English, even the site language is different Either deactivate that plugin or you can try this code in wplms customizer plugin
    
    add_filter('login_errors','login_error_message');
    
        function login_error_message($error){
            //check if that's the error you are looking for
            $pos = strpos($error, 'incorrect');
            if (is_int($pos)) {
                //its the right error so you can overwrite it
                $error = "Heyyyaaa. <a href='your-site-url/wp-login.php?action=lostpassword'>Lost Password?</a>";
            }
            return $error;
        }
    
    Or you can check these: https://www.wpbeginner.com/wp-tutorials/how-to-disable-login-hints-in-wordpress-login-error-messages/
    #316528
    MateoArias
    Participant
    This reply has been marked as private.
    #316875
    Diana
    Participant
    Thank you PLease do rate us on themeforest if you really like my assistance: https://themeforest.net/item/wplms-learning-management-system/reviews/6780226 Let me know if we can close this topic or not
    #317074
    MateoArias
    Participant
    This reply has been marked as private.
    #317118
    Diana
    Participant
    okay, closing Thanks for confirming :)
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Where do I translate this phrase’ is closed to new replies.