-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom error messages (errorHandler) #160
Comments
Hi, I assume you are connected with an application server, please try putting the custom.vii file on the app server's bin directory. |
Hi, Thanks. The apiserver is configured to connect via appserver, right. Placed the file in the bin directory of the app server , of the apiserver's too and restarted both, but it keeps showing the error in plain english. The file is saved with utf-8 bom , maybe I'm not capturing the right error number. |
Hello Juan Carlos, Works for me with direct connection and over appserver. [en-US] [nl-NL] [default] The language specific entry also gets picked-up. |
Hi Niels!! My VI.Base.custom.vii UTF-8 BOM file is placed in the bin folder of both the apiserver and appserver. I'll doublecheck again and retry. All in all, it is a local problem for, as you both point out, it works. I'll close the issue later today. |
Hi,
I'm trying to have the StringErrors translated in my custom qer-app-portal. These are messages shown by the angular errorHandler. In my case, I need to translate this:
![image](https://private-user-images.githubusercontent.com/12726971/347699344-245fc843-7e8c-4d6b-9581-de4806dd8070.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MTc1MzMsIm5iZiI6MTcyMjQxNzIzMywicGF0aCI6Ii8xMjcyNjk3MS8zNDc2OTkzNDQtMjQ1ZmM4NDMtN2U4Yy00ZDZiLTk1ODEtZGU0ODA2ZGQ4MDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDA5MTM1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA2NjNmMDhhODY5OTA5YmUxY2Y5YmY4NWYzOTZlYmFhNTMxZGVmN2MxODZkZWM5MTY3MDNlMzc0MjAwNzU4Y2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p_BxshKZAswROe03rjyIjxLQAMPaeYZDVHAiuZ1AUMw)
when a non authorized account tries to log in via oAuth.
I've tried the fix with the VI.Base.custom.vii UTF-8 BOM placed in the bin folder of the apiserver:
`[en-US]
strError2329013="Necesita una cuenta protegida para acceder a este servicio."
[es-ES]
strError2329013="Necesita una cuenta protegida para acceder a este servicio."
[es]
strError2329013="Necesita una cuenta protegida para acceder a este servicio."
[default]
strError2329013="Necesita una cuenta protegida para acceder a este servicio."`
, but it didnt seem to work just as it did in the old web portal/applications. Is there any other workaround or should I extend the errorHandler with my own?
Thanks!
The text was updated successfully, but these errors were encountered: