Henri Bergius wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Hi,

Greetings!

| MidCOM currently does not support Midgard-style multilang. It has its
| own L10N system, which is completly independant of Multilang Midgard.

The MidCOM L10N system and MultiLang have quite different targets.
MidCOM's localization system provides *application UI* localization,
while MultiLang provides *content* localization.

MultiLang would be extremely useful for sites that have to provide
the same content in several different languages, like can many
governmental agencies and other organizations have to do in multilingual
areas (Finland and Switzerland, for example).

With MultiLang you would maintain all language versions in single
MidCOM website and single topic tree, with MultiLang pulling correct
language version of an article (or other leaf) for each request.

If I've understood MultiLang correctly, this all happens transparently
to the actual Midgard code, so you automatically get the correct
language version of an article when you instantiate it by
mgd_get_article() or whatever.

So the serving end would only require logic for calling mgd_set_lang()
based on either browser preferences or for example $argv[0].

But this wouldn't yet provide the authoring environment. But that
part should also be easy, as most components use MidCOM's datamanager
for abstracting object storage. If we would make datamanager
MultiLang-aware, we could get a multilingual content editor quite easily.

David, how far is this from truth?

Very close ;-) Additional things to be handled are
* list functions: You have to take care of calling mgd_set_lang(0) everytime you build a list and resetting it afterwards
* finding out which languages an object is available in, via mgd_get_object_by_guid.


That's about it.

David

--
David Schmitter, Software Developer, [EMAIL PROTECTED]
Dataflow Solutions GmbH - Pappelweg 48 - 3013 CH-Bern
[EMAIL PROTECTED] - +41 31 332 01 01

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to