[Kronolith] greek languge support help

Silligardos Xristoforos xsilliga@teiath.gr
Thu, 6 Sep 2001 17:52:38 +0300


---------------------- multipart/alternative attachment
dear jan
=20
   We would be happy to sent you the translation we have done, and some =
other thinks that we worked on, when ofcource we have everything =
working. And to do that we must first solve a problem we have.=20
   As we said and in our first message we want to know which languge the =
user has chosen during his login to the system, we belive that this is =
held in some kind of a variable, we would like you to tell as how are we =
going to do that king of check.=20
   in example:=20
   if the user selected greek as his language we would like to use a =
function to translate the date from english to greek.=20
   We don't know the check part, how would we know that the user has =
chosen greek as his language and not, lets say italian.

Silligardos Xristoforos
Dimitriou Stefanos

---------------------- multipart/alternative attachment--



>From janmailing@gmx.de Date: Thu,  6 Sep 2001 16:45:14 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact kronolith-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list kronolith@lists.horde.org
Received: (qmail 35943 invoked from network); 6 Sep 2001 14:55:31 -0000
Received: from mailout00.sul.t-online.com (HELO mailout00.sul.t-online.de) (194.25.134.16)
  by horde.org with SMTP; 6 Sep 2001 14:55:31 -0000
Received: from fwd06.sul.t-online.de 
	by mailout00.sul.t-online.de with smtp 
	id 15f0Z0-0004Pd-04; Thu, 06 Sep 2001 16:55:30 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.110]) by fmrl06.sul.t-online.com
	with esmtp id 15f0Ya-24KL5NC; Thu, 6 Sep 2001 16:55:04 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f86EjEV01240
	for <kronolith@lists.horde.org>; Thu, 6 Sep 2001 16:45:14 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Thu,  6 Sep 2001 16:45:14 +0200
Message-ID: <999787514.3b978bfa5dcc1@linux.wg.de>
Date: Thu,  6 Sep 2001 16:45:14 +0200
From: Jan Schneider <janmailing@gmx.de>
To: kronolith@lists.horde.org
References: <3B978A70.5074B519@wanadoo.fr>
In-Reply-To: <3B978A70.5074B519@wanadoo.fr>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [kronolith] open fct in mcal.php

kronolith uses just one mcal user, you don't have to add a user to mpasswd for 
each user the uses kronolith.
The different calendars for the different users are managed internally.

Jan.

Zitat von Yohann Fourteau <yohann.fourteau@wanadoo.fr>:

> If a user isn't in /etc/mpasswd, kronolith doesn't work for that user :
> <b>Warning</b>:  Couldn't open stream {/mstore}<tofour>  (the browser
> doesn't display <tofour> :)
> 
> And if I add the user (htpasswd /etc/mpasswd tofour), kronolith works
> but only in a read-only way. 
> In fact $this->mcalUsername, $this->mcalPassword is used to open the
> stream (in mcal.php) and of course, that user $this->mcalUsername can't
> write in tofour's calendar...
> 
> So It would be good to change the open function...
> 
> I've try :
>     function open($calendar)
>     {
>         //$this->stream = mcal_popen("{/mstore}<$calendar>",
> $this->mcalUsername, $this->mcalPassword);
>         $this->stream = mcal_popen("{/mstore}<>$calendar",
> $this->mcalUsername, $this->mcalPassword);
>     }
> 
> then I've the same calendar for everybody (in fact "{/mstore}<>tofour" 
> works like "{/mstore}<>", and I don't know why...the documentaion about
> mcal is not very clear...).
> 
> If the stream was opened with the login and the passwd of the current
> login (and not always the same), it will work but the /etc/mpasswd must
> be populated with all the users...
> 
> So what is the good solution ?
> 
> Thanks.
> -- 
> Yohann F.
> 
> -- 
> Kronolith mailing list: http://horde.org/kronolith/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::