1.1 --- a/examples/Common/Configurator/__init__.py Thu Dec 01 18:06:13 2005 +0000
1.2 +++ b/examples/Common/Configurator/__init__.py Thu Dec 01 18:06:40 2005 +0000
1.3 @@ -38,7 +38,8 @@
1.4 "memory-unit" : "config_memory_unit.xml",
1.5 "mouse" : "config_mouse.xml",
1.6 "screen" : "config_screen.xml",
1.7 - "storage-unit" : "config_storage_unit.xml"
1.8 + "storage-unit" : "config_storage_unit.xml",
1.9 + "translations" : "translations.xml"
1.10 }
1.11 in_page_resources = {
1.12 "cpu" : ("config_output_cpu.xsl", "cpu-node"),
1.13 @@ -123,7 +124,9 @@
1.14
1.15 # Complete the response.
1.16
1.17 - self.send_output(trans, [trans_xsl], configuration, stylesheet_parameters)
1.18 + stylesheet_parameters["locale"] = trans.get_content_languages()[0]
1.19 + self.send_output(trans, [trans_xsl], configuration, stylesheet_parameters,
1.20 + references={"translations" : self.prepare_document("translations")})
1.21
1.22 #from XSLTools import XSLOutput
1.23 #import sys