i18n-feature based on kellans proposal implemented. the resource-bundles are located...
authoridfx <idfx>
Sun, 17 Mar 2002 21:32:33 +0000 (21:32 +0000)
committeridfx <idfx>
Sun, 17 Mar 2002 21:32:33 +0000 (21:32 +0000)
commitd7ff9b48279d6b8f94089cf36fde6e8290fb631d
tree2f2cf3cd693dc742fa19590a05432c61c963fff1
parent649b36f8917211a1268ae9de22f7d0071b166c28
i18n-feature based on kellans proposal implemented. the resource-bundles are located in the directory mir/bundles and build.xml copies them to WEB-INF/classes/. to get a localized message just type ${message(key)} into a admintemplate. in the properties-file the hash look like key=value. the properties-files are named in the following way: admin_??.properties ( ?? stands for the languagecode ) . the admin.properties without languagecode is the standard-bundle
14 files changed:
build.xml
build.xml-new
bundles/admin.properties [new file with mode: 0755]
bundles/admin_de.properties [new file with mode: 0755]
source/Mir.java
source/OpenMir.java
source/mir/misc/HTMLTemplateProcessor.java
source/mir/misc/MessageMethodModel.java
source/mir/servlet/ServletModule.java
source/mircoders/producer/Producer.java
source/mircoders/servlet/ServletModuleComment.java
source/mircoders/servlet/ServletModuleImages.java
source/mircoders/servlet/ServletModuleLinksImcs.java
source/mircoders/servlet/ServletModuleMessage.java