Why can't I change "confirm email prompt" notification that appears immediately after registration?
Why can't I change "confirm email prompt" notification that appears immediately after registration?
I understand that I have to change it on /config/locale.php as below;$Definition['You need to confirm your email address. Click <a href="/entry/emailconfirmrequest">here</a> to resend the confirmation email.'] = 'Any statement I want here.';
I have changed it as written above but notification remains the same as before.
Am I doing something wrong here?
Best Answer
-
peregrine MVP
Am I doing something wrong here?
Yes, you are not identifying the definition properly.
everything before the comma in the translation if you are looking at code in program.
but if you look in any locale you will see this on the left.
$Definition['You need to confirm your email address.'] =
original:
$Definition['You need to confirm your email address.'] = 'You need to confirm your email address. Click <a href="{/entry/emailconfirmrequest,url}">here</a> to resend the confirmation email.';
so
$Definition['You need to confirm your email address.'] = 'Pay Attention Click <a href="{/entry/emailconfirmrequest,url}">here</a> ';
$Definition['You need to confirm your email address.'] = 'Any statement I want here.';
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
5
Answers
Yes, you are not identifying the definition properly.
everything before the comma in the translation if you are looking at code in program.
but if you look in any locale you will see this on the left.
$Definition['You need to confirm your email address.'] =
original:
$Definition['You need to confirm your email address.'] = 'You need to confirm your email address. Click <a href="{/entry/emailconfirmrequest,url}">here</a> to resend the confirmation email.';
so
$Definition['You need to confirm your email address.'] = 'Pay Attention Click <a href="{/entry/emailconfirmrequest,url}">here</a> ';
$Definition['You need to confirm your email address.'] = 'Any statement I want here.';
http://vanillaforums.org/discussion/30993/tutorial-how-to-use-locale-developer-config-statement-to-identify-changeable-words-translations
http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks @peregrine
btw - see this code
if it has a t or a T look for the info BEFORE the comma only.
e.g.
You need to confirm your email address.', 'You need to confirm your email address. Click <a href="{/entry/emailconfirmrequest,url}">here</a> to resend the confirmation email.'))
so ONLY 'You need to confirm your email address'
in the left part of definition.
$Definition['You need to confirm your email address.'] =
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.