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

   Following today meeting, I could reproduce the issue with a simple 
test-case. The gradle files are based the ones generated by Grails forge.
   
   
[test-i18n-multiproject2.tar.gz](https://github.com/user-attachments/files/23061610/test-i18n-multiproject2.tar.gz)
   
   Steps:
   ```bash
   > cd test-i18n-multiproject2/server
   > ../gradlew bootRun
   ```
   In another terminal
   ```bash
   > curl http://localhost:8080/test
   test.label
   > curl http://localhost:8080/test?lang=fr
   test.label
   ```
   `test.label` is a key, not the translation.
   
   Hot restart is working properly, but i18n is broken. The patch provided by 
the PR fix i18n.
   
   `test.label` is translated in the `app/test` plugin.
   
   Note: it does not work when using `./gradlew server:bootRun`, you **have 
to** execute gradle from the server directory.
   
   
   Hope this helps !! 


-- 
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