From: frank <fs...@bl...> - 2004-02-27 17:48:57
|
Dorneles Treméa wrote: > Hi Kei, > > >>1. Go into (.../) Plone2/Sites/Default/Products/CMFPlone/i18n >>2. run ./build.sh (this creates the .mo files from the .po files) >>3. Restart Plone2/Zope >> >>Now it should work. In my installation (same as yours), the .mo files >>are not created automatically. > > > PlacelessTranslationService (PTS) since version 1.0fork-beta3, > (2004-01-07) has a builtin .MO's compiler, so running build.sh > is deprecated now (BTW build.sh was removed recently). > > If there are .MO's in some i18n product directory, PTS will > show a deprecation warning when Zope starts, at event.log. > > Regards, > /Applications/Plone2/Library/Software/Zope270/Zope/lib/python/OFS/Application.py:584: DeprecationWarning: Compiled po files (*.mo) found in /Applications/Plone2/Sites/Default/Products/PlacelessTranslationService/i18n. PlacelessTranslationService now compiles mo files automatically. All mo files have been ignored. folder_permissions, raise_exc=debug_mode) That was the clue it seems. I also removed all .po (since there where no .mo) files from /Products/CMFPlone/i18n and downloaded the newest plone-de.po from cvs. I removed a file named pts-de.mo from (..)/Products/PlacelessTranslationService/i18n/ (Version 1.0fork-beta4). Is it possible that compilation breaks at all when theres only 1 .mo file somwhere in /products/? The next Problem was viewing the site with the (right) Browser. Allthough my IE 5.2 is a german Version en is the default language. Same with Mozilla. Only Safari runs without configuration (but wasnt before my changes). thanks Frank |