[
https://issues.jboss.org/browse/GTNPORTAL-2852?page=com.atlassian.jira.pl...
]
Trong Tran updated GTNPORTAL-2852:
----------------------------------
Description:
Basically, there are two things :
1. Remove ant configuration in the root POM which copies all *_en.properties to the base
ones (webui_en.properties to webui.properties for instance). The copy is not efficient and
not a clean way to maintain resource bundle files. What we need is just to keep the base
properties file only, the default English language properties should be loaded fallback by
the base one normally.
2. Move resource bundle files from src/main/webapp/WEB-INF/classes to src/main/resources.
It is more compliant to Maven standard structure.
was:
Basically, there are two things :
1. Remove ant configuration in the root POM which copies all *_en.properties to the base
ones (webui_en.properties to webui.properties for instance). The copy is not efficient and
not a clean way to maintain resource bundle files. Then we just need to keep the base
properties file only, the default English language properties should be loaded fallback by
the base one normally.
2. Move resource bundle files from src/main/webapp/WEB-INF/classes to src/main/resources.
It is more compliant to Maven standard structure.
Clean up and improve the usage of Resource Bundle files
-------------------------------------------------------
Key: GTNPORTAL-2852
URL:
https://issues.jboss.org/browse/GTNPORTAL-2852
Project: GateIn Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Internationalization and Localization
Affects Versions: 3.5.0.Final
Reporter: Trong Tran
Fix For: 3.6.0.Final
Basically, there are two things :
1. Remove ant configuration in the root POM which copies all *_en.properties to the base
ones (webui_en.properties to webui.properties for instance). The copy is not efficient and
not a clean way to maintain resource bundle files. What we need is just to keep the base
properties file only, the default English language properties should be loaded fallback by
the base one normally.
2. Move resource bundle files from src/main/webapp/WEB-INF/classes to src/main/resources.
It is more compliant to Maven standard structure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira