You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Sergei O. Naumov" <se...@mobicomk.ru> on 2002/01/03 18:23:11 UTC

Configuration question

Hi!
I am just starting to work with Jetspeed. After browsing through files around in jetspeed I still
do not quite understand what those macros (or whatever they are) like $l10n.USERFORM_USERNAMEMSG
mean. The meaning seems quite clear but where does one define the particular values for those
variables?

Thanks much in advance,
			Sergei

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration question

Posted by Paul Spencer <pa...@apache.org>.
Sergei,

Sergei O. Naumov wrote:

> On Fri, 04 Jan 2002 14:13:45 -0500
> 
> Do you know how Jetspeed learns what language it has to get? Does it come from HTTP headers?


Yes


> 
> Thanks,
> 	Sergei
> 

Paul Spencer




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration question

Posted by "Sergei O. Naumov" <se...@mobicomk.ru>.
On Fri, 04 Jan 2002 14:13:45 -0500
Paul Spencer <pa...@apache.org> wrote:

> Sergei,
> $l10n.USERFORM_USERNAMEMSG is not a macro.  It is a variable that 
> returns a localized text string based on the users language.  The string 
> , without the $l10n. prefix, can be found in 
> <jetspeed-home>/WEB-INF/classes/org/apache/jetspeed/modules/localizations/JetspeedLocalizationxx.properties 
> where xx is _Language, i.e. _en is english and "" is the default.

Do you know how Jetspeed learns what language it has to get? Does it come from HTTP headers?

Thanks,
	Sergei

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration question

Posted by Paul Spencer <pa...@apache.org>.
Sergei,
$l10n.USERFORM_USERNAMEMSG is not a macro.  It is a variable that 
returns a localized text string based on the users language.  The string 
, without the $l10n. prefix, can be found in 
<jetspeed-home>/WEB-INF/classes/org/apache/jetspeed/modules/localizations/JetspeedLocalizationxx.properties 
where xx is _Language, i.e. _en is english and "" is the default.

Paul Spencer



Sergei O. Naumov wrote:

> Hi!
> I am just starting to work with Jetspeed. After browsing through files around in jetspeed I still
> do not quite understand what those macros (or whatever they are) like $l10n.USERFORM_USERNAMEMSG
> mean. The meaning seems quite clear but where does one define the particular values for those
> variables?
> 
> Thanks much in advance,
> 			Sergei
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>