• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I have disabled the I18N features in configure (because it is too SLOW).

And now I get the message

| 23 Nov 2005 - 09:10 | Could not load I18N infrastructure; falling back to English

on each and every page view in the warn200511.txt message.

This means that the file gets flooded with these messages that I should not have to care about and real problem messages drown.

It also slows down dakar so it gets even more slow.

KennethLavrsen

I'm having the same flood in my cygwin installation (cygwin doesn't do locales properly) and got rid of the messages by the following patch:

$ diff -U2 lib/TWiki/I18N.pm~ lib/TWiki/I18N.pm
--- lib/TWiki/I18N.pm~  2005-11-10 16:44:28.995405700 +0100
+++ lib/TWiki/I18N.pm   2005-11-24 09:53:48.541806700 +0100
@@ -213,6 +213,7 @@
         $this = new TWiki::I18N::Fallback();
         # we couldn't initialise 'optional' I18N infrastructure, warn that we
-        # can only use English.
-        $session->writeWarning('Could not load I18N infrastructure; falling back to English');
+        # can only use English if I18N has been requested with configure
+        $session->writeWarning('Could not load I18N infrastructure; falling back to English')
+            if $TWiki::cfg{UserInterfaceInternationalisation};
     }

(no SVN access in this installation, sorry)

-- TWiki:Main.HaraldJoerg

thanks harald. applied SVN:7629

-- WN

ItemTemplate
Summary Flooded with - Could not load I18N infrastructure; falling back to English
ReportedBy KennethLavrsen
Codebase

AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 7629 7799
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-11-24 - WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback