Language files doesn’t work. Howdy hardcoded?
-
Hello,
in the past, after login the visitor got something like this: “Howdy, Name”.
Howdy was a string and translated in several language. Today I noticed, since update to 5.7.2 this is hardcoded in login_afo_widget.php:if($link_in_username){ $link_with_username = '<a href="' . esc_url( get_permalink($link_in_username) ) . '" ' . apply_filters( 'lwws_username_link_a_tag', get_permalink($link_in_username) ) . '>' . apply_filters( 'lwws_welcome_text', __('Howdy,','login-sidebar-widget') ) . ' ' . $current_user->display_name . '</a>'; } else { $link_with_username = apply_filters( 'lwws_welcome_text', __('Howdy,','login-sidebar-widget') ) . ' ' . $current_user->display_name; }
If I change there, I got “Guten Tag, Name” after login. But I know this is not got practice. Can you please made this string ready for translation?
I also noticed, there are two locations for translation files:
1) \wp-content\languages\plugins\login-sidebar-widget-de_DE.po
and
2) /wp-content/plugins/login-sidebar-widget/languages/login-sidebar-widget-de_DE.poThe second one contains only 7 strings, the first one round about 70. But in both Howdy is translatet to “Hallo”.
Thanks!
Gerd
- The topic ‘Language files doesn’t work. Howdy hardcoded?’ is closed to new replies.