Home Forums Basel support forum "Hello, %s" can't be translated

"Hello, %s" can't be translated

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28988

    svaldesm
    Participant

    The text “Hello, %user% / Log out” can’t be changed.

    I’ve tried changing it on Loco Translate (I’ve translated almost everything without issues).
    It just doesn’t appear there.

    As far as I’ve searched, it is located in here (template-tags.php):

    		if ( basel_get_opt( 'my_account_with_username' ) ) {
    			$account_text = sprintf( esc_html__( 'Hello, %s', 'woocommerce' ), '<strong>' . esc_html( $current_user->display_name ). '</strong>' );
    		}

    I don’t have that file on my child theme, so it isn’t that.

    I have the same problem with the text on the menu inside the account, “My Account”.
    There’s no way on changing that, even thought I actually change it on Loco.

    Thanks,

    #29027

    Artem Temos
    Keymaster

    Hi,

    Try to click on “Sync” button for our theme po file in the Loco Translate.

    Regards

    #29152

    svaldesm
    Participant

    I already did that, and nothing changes. I search for “Hello” and there’s nothing on Loco Translate.

    OK: Already up to date with basel.pot

    This doesn’t work neither local or online.
    I tried doing this on Woocommerce (plugins) or Basel (themes) and nothing.
    In my child theme there’s nothing either.

    #29162

    Artem Temos
    Keymaster

    Could you please send us your admin access so we can check it?

    #29750

    svaldesm
    Participant

    OK, here it goes.

    #29761

    Artem Temos
    Keymaster

    Sorry, we noticed that it seems to be a bug in the theme. We will fix it in our next theme update that will be released this week.

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)