Jeff,
These three strings: “Register”, “Lost Password” and “Log In” aren’t getting translated even though they’re in the .po file. They’re contained in a ul with a class name of “tml-action-links”. The code for them is in the get_title function, line 142 in class-theme-my-login-template.php:
/**
* Returns action title
*
* @since 6.0
* @access public
*
* @param string $action The action to retrieve. Defaults to current action.
* @return string Title of $action
*/
public function get_title( $action = '' ) {
if ( empty( $action ) )
$action = $this->get_option( 'default_action' );
if ( is_admin() )
return;
if ( is_user_logged_in() && 'login' == $action && $action == $this->get_option( 'default_action' ) ) {
$title = sprintf( __( 'Welcome, %s', 'theme-my-login' ), wp_get_current_user()->display_name );
} else {
if ( $page_id = Theme_My_Login::get_page_id( $action ) ) {
$title = get_post_field( 'post_title', $page_id );
} else {
switch ( $action ) {
case 'register':
$title = __( 'Register', 'theme-my-login' );
break;
case 'lostpassword':
case 'retrievepassword':
case 'resetpass':
case 'rp':
$title = __( 'Lost Password', 'theme-my-login' );
break;
case 'login':
default:
$title = __( 'Log In', 'theme-my-login' );
}
}
}
return apply_filters( 'tml_title', $title, $action );
}
Here are examples of the problem:
https://stage.azcainc.com/ja/login/
https://stage.azcainc.com/ja/register-2/
https://stage.azcainc.com/ja/lostpassword/