From: Matthew B. <mat...@ou...> - 2006-06-07 11:30:16
|
Alistair Young wrote: > Matthew, what's your feeling on this? Should we keep the template > resources separate and have mutltiple MessageSources in the config file > or, as we migrate each template to JSP, migrate it's strings to a global > bod MessageSource file? If anyone hasn't looked at the spring stuff I just have one messagesource at the moment that is used for both JSP and Java i18n. I think having a global message source is good as some strings will show up in more than one page/class. I think having one per JSP/class leads to too many files, maybe one per resource type (one for questionnaire, one for mcq). Important thing is how we divide up the namespace for the key values. Should we prefix all keys with the resource type and use default for the global ones? > Global file would be easier to send to a translator and would keep the > config file clean. If we keep the namespace clean it should be easy to join/split i18n files for sending to people. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |