Taack commented on issue #15129:
URL: https://github.com/apache/grails-core/issues/15129#issuecomment-3441470354

   Here is the **buildSrc** version using exploded plugin. Logging is working 
correctly after a hot restart. This test-case is much cleaner than previous 
ones.
   
   
[test-i18n-multiproject-buildSrc.tar.gz](https://github.com/user-attachments/files/23114491/test-i18n-multiproject-buildSrc.tar.gz)
   
   To summarize: 
   
   - the `app` folder holds grails plugins, here, only `test` plugin is added;
   - the `server` folder is the main app;
   - we use `buildSrc` semantic to simplify all `build.gradle` into plugins and 
main app;
   - **i18n** is defined into **plugins**;
   - we have to launch `bootRun` task from server directory.
   
   In our use-cases, `bootRun` completely breaks the UI, because we try to find 
the right translation automatically iterating over many keys (from more 
specific to generalized ones, like `offer.salesman.usernaname.label`, then 
`salesman.usernaname.label`, then `user.usernaname.label`, then  
`default.usernaname.label`). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to