Issue #2 is yet to be decided. Got any suggestions?
Hm, the question is
- do we want more lingual version of one document (=1 docid, more content fields), OR
- do we want to have different documents, each one for a seperate language (multiple docids, one content field, language flag; how are they linked together?)
I guess the first case is easy, but I'm not sure if flexible enough:
- The user has to decide upon installation how many different language his content has to support.
- The installer would then create appropiate database tables, so we don't have a not only content field now (for the default language) but also additional content fields (content_fr, content_de, content_3, content_4)
- in manager/document edit/generic you don't have only one content field to edit but all your languages (css layers + tabs to hide/show) so you can simultanously edit all your languages; also it will be required to have pagetitle, description... for each language
- API routines either decide which language to retrieve (based on cookies, browser settings,...) or by a passed parameter; this means - when browsing the content page the parser will replace [*content*] with the appropiate language and event he menu is generated for the appropiate menu
The second case is definitly more flexible as you can add new languages on the fly but if affects a lot of things (site search, menu generation)... also you've got to link together all id's to switch languages on a single specific page... sounds very complicated