Thanks Wolfgang!
After adding the line you pointed out and remaking the formats the problem is solved.

Have a nice day, best regards: OK

On 14 avr. 2011, at 16:50, Wolfgang Schuster wrote:


Am 14.04.2011 um 13:33 schrieb Otared Kavian:

Hi Hans,

With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I noticed a small bug with the command \date in mkiv: when the mainlanguage is st to [fr], the command \date gives:
14spaceavrilspace2011
that is the word « avril » is replaced with « spaceavrilspace ». With [it] or [es], there is no such problem. In mkii everything is fine.
Minimal example:

\starttext
Here there is no problem: today's date: \date
\mainlanguage[fr]
Here there is a problem: aujourd'hui: \date
\stoptext

core-con.lua (missing “local v_space = variables.space“ at line 757):

local v_day      = variables.day
local v_year     = variables.year
local v_month    = variables.month
local v_weekday  = variables.weekday
local v_referral = variables.referral
+local v_space    = variables.space

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46