Change translation of api responces

(Hosein Naseri) #1

I’m Creating topic with api, using my application and I want to show appropriate messages to users when their title or message are short.
However the translated response I get from discourse, when such a situation happens, isn’t accurate. for example for the title when its short, I get this:
Title آیا خیلی کوتاه است (حداقل10 کاراکتر است)
As you can see the “Title” itself isn’t translated. I went to the customization section and I searched to find it and customize it myself, but I didn’t find such a message.
Can someone point me where I can customize these messages?