Hello, I have recently succeeded externalising the messages.properties file. I set* cas.messageBundle.baseNames *in my application.properties file as:
cas.messageBundle.baseNames = file:/path_to_newfile,classpath:custom_messages,classpath:messages the *path_to_new_file* should *not* have the file extension .properties, as spring boot will look for _<lang>.properties files on that directory. So for example if your new file is custom_messages_en.messages, then you only need to set file:/path_to_custom_messages. Hope that helps. Kind regards On Monday, 21 October 2019 16:06:31 UTC+1, vallee.romain wrote: > > Hello, > do you think it's possible to externalized int /etc/cas/something every > messages.poperties, theme, templates, css ... ? > Thank you > > Best regards > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/69aa2340-1551-498e-bc0a-4dfb2daae0fd%40apereo.org.
