This topic has 4 replies, 2 voices, and was last updated 8 years, 1 months ago ago by Rose Tyler
Hi support,
on my website http://viceversa.wshosting.it everything is ok, all the text, labels etc. are translated in my language (italian), except for new account notification email. When a user registered to the website, the confirmation email he receive is still in english, even if all text strings in .po file in woocommerce folder and theme folder are correctly translated (as you can see in Loco Translate plugin)…
This is the message they have:
Thanks for creating an account on Viceversa. Your username is gerardo.
Puoi accedere al tuo account per vedere gli ordini e cambiare la password da qui: http://viceversa.wshosting.it/mio-account/.
So the second half of the email is translated, but the first half not… I don’t know what to do…
Hello,
You can translate the text in the file wp-content/themes/royal/framework/theme-functions.php in lines 1559, 1562. Keep this file safe to avoid losing changes after theme update.
Regards,
Rose Tyler.
Dear Rose,
I don’t think the problem is on that lines of THEME-FUNCTIONS.PHP… I was talking about the email received by the user, not by the admin…
These are lines from 1159 to 1581:
if(!function_exists(‘et_registration_admin_email’)) {
function et_registration_admin_email($username = ”) {
global $woocommerce;
$logoimg = etheme_get_option(‘logo’);
$logoimg = apply_filters(‘etheme_logo_src’,$logoimg);
ob_start(); ?>
<div style=”background-color: #f5f5f5;width: 100%;-webkit-text-size-adjust: none;margin: 0;padding: 70px 0 70px 0;”>
<div style=”-webkit-box-shadow: 0 0 0 3px rgba(0,0,0,0.025) ;box-shadow: 0 0 0 3px rgba(0,0,0,0.025);-webkit-border-radius: 6px;border-radius: 6px ;background-color: #fdfdfd;border: 1px solid #dcdcdc; padding:20px; margin:0 auto; width:500px; max-width:100%; color: #737373; font-family:Arial; font-size:14px; line-height:150%; text-align:left;”>
<?php if($logoimg): ?>
” style=”display:block; text-align:center;”>” alt=”<?php bloginfo( ‘description’ ); ?>” />
<?php else: ?>
” style=”display:block; text-align:center;”>” alt=”<?php bloginfo(‘name’); ?>”>
<?php endif ; ?>
<p><?php printf(__(‘New user registration on %s. Username: %s.’, ETHEME_DOMAIN), get_bloginfo( ‘name’ ), $username);?></p>
</div>
</div>
<?php
$output = ob_get_contents();
ob_end_clean();
return $output;
}
}
There is no the text that user are receiving after registration, that is:
Thanks for creating an account on Viceversa. Your username is gerardo.
Puoi accedere al tuo account per vedere gli ordini e cambiare la password da qui: http://viceversa.wshosting.it/mio-account/.
You must be logged in to reply to this topic.Log in/Sign up