Translation section

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Translation section

Postby luckyphan » 21 Sep 2018, 15:13

Hi,

Where can we edit the warning message of "email address has been taken" during new user registration? Can't find it on the language translation section.

Need to change to local language.

Thanks
Attachments
20180921_200730.png
20180921_200730.png (18.31 KiB) Viewed 5565 times
luckyphan
Stranger
 
Posts: 24
Joined: 30 Jul 2018, 09:09
Reputation point: 0

Re: Translation section

Postby Xpycm » 21 Sep 2018, 17:17

Hi.

Post in correct section! "Open Real Estate" -> "Questions and help for changes" not in "Open Real Estate".
Next time you violate the rules, you will be banned.

Solution:
Find all "array('email', 'unique')" in project and replace with array('email', 'unique', 'message' => Yii::t('common', 'My custom message')),

For example:
protected\modules\users\models\User.php file
In this file replace
Code: Select all
array('email''unique'), 

with:
Code: Select all
array('email''unique',  'message' => Yii::t('common''My custom message')), 
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 47 guests

cron