How to customize the “Failed to fetch” message in Traccar Manager

Diego Silva2 months ago

Hi everyone,

I’m using Traccar and noticed that when the client has no internet connection, the default message “Failed to fetch” appears. I would like to know if there is a place in the code where I can change this message, either to translate it or to customize it.

If possible, could you point me to the specific file or code section where this is handled in the app?

Thank you!

Anton Tananaev2 months ago

It's the standard fetch API error message. We don't define it anywhere in our code. If you want to customize, you would probably have to override the error somewhere in the code.

Diego Silva2 months ago

Ok Anton! Tk!