Hello All,
Though I've already sent these patches to Jukka, I'd like to inform
Midgard community about availability of Russian Midgard 1.2.4
patches.
--------------------------------------------------------------------
I finally packaged my localization changes for Midgard 1.2.4. They
include:
- Russian edition of Midgard Admin Site;
- support of russian language in libmidgard;
- support of sending of russian e-mail in Midgard/PHP
- translation into Russian README and INSTALL parts of libmidgard,
mod_midgard, and midgard-data packages.
Also I fixed bug in PHP that was triggered by undefined symbols in
mod_charset support (actually, #include <httpd.h> was missed from
PHP/main.c when compiling with Apache support).
Another enhancement in Midgard/PHP is simplified installation via
'setup' script. Now it could be done just running 'setup' script and
answering positively to the Midgard-related questions. Also I have
added generic README.Midgard to PHP root directory where placed some
installation notes.
Third enhancement in Midgard/PHP touches mgd_get/create/update_host
functions. Because Midgard 1.2.4 supports sites on directories, I
added one more parameter to those functions to allow setting/getting
'prefix' field in host table. Midgard Admin Site was modified
heavily to avoid any absolute document URLs. Now Admin Site could be
placed, for example, on www.domain.com/admin/ without any problems.
But the images are still in the root of server (they could be shared
between different (localized) adminstration sites).
In order to work with russian language in Midgard/PHP I have added
--with-midgard-lang option to the configure script. This create a
general way to add new localizations to Midgard using another value
for --with-midgard-lang option
The same option was added to libmidgard package in order to allow
selection of Russian support.
Please check ChangeLogs in all packages for more detailed
information.
I placed my changes as Diff file against original 1.2.4 sources at
the
http://shared.bspu.unibel.by/NetWorks/Internet/WebServers/Midgard/midgard-ru-1.2.4.diff.gz
Just untar Midgard packages in the same directory, ungzip patch file
and run
patch -p1 <midgard-ru-1.2.4.diff
Please note that in order to work correctly with Russian in Midgard
you have to include mod_charset support into your Apache web-server.
See http://apache.lexa.ru/ for more information.
Sincerely yours,
Alexander mailto:[EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]