Page 1 of 1

Customizing messages

Posted: Mon Nov 19, 2018 9:04 am
by evandropezzi
Hello,

How can i customize the messages returned by the API?
Anyone know if have a message register on cyclos?

Look the image:
print.jpg
print.jpg (53.09 KiB) Viewed 1212 times

Tks.
Evandro.

Re: Customizing messages

Posted: Thu Nov 22, 2018 11:44 am
by sandrab
Hi Evandro,

Does the message change if you change the system translations? (see https://communities.cyclos.org/content/ ... ranslation)
I wonder if in your example the translations are the ones with translationkeys 'USERS.USERS.username' and 'GENERAL.ERRORS.unique'. Not sure, but you could try.

All the best,
Sandra