--- dogtail-recorder.orig	2007-08-02 18:47:10.000000000 +0200
+++ dogtail-recorder	2007-08-02 18:59:11.000000000 +0200
@@ -378,7 +378,7 @@
     def setUpFocus(self, node):
         """
         Writes out the necessary focus.application() and focus.dialog() lines 
-        to the script.
+        to the script. Loads translations: GNOME #451871
         """
         application = FakeNode.findAncestor(node, roleName = 'application')
         if application:
@@ -386,6 +386,8 @@
             if self.currentApplication:
                 if application == self.currentApplication: needApp = False
             if needApp:
+		self.recordLine("import dogtail.i18n")
+		self.recordLine("dogtail.i18n.loadTranslationsFromPackageMoFiles('%s')\n" % application.name)
                 self.recordLine("focus.application('%s')" % application.name)
                 self.currentApplication = application
         elif application == None:
