Hi,

I updated context-minimals today and \mainlanguage[es] is broken.

Example:

  \mainlanguage[es]
  \starttext
  \chapter[]{Cap1}
  Hello World.
  \stoptext

$ texexec --pdf example.tex

! Undefined control sequence.
<argument> \itulo

The problem is lang-ita.tex :

*** lang-ita.tex.old    2009-08-21 16:16:03.000000000 +0200
--- lang-ita.tex    2009-08-26 18:15:38.200286872 +0200
***************
*** 266,273 ****
  \setuplabeltext [\s!ro] [\v!graphic=Graficul ]
 
  \setuplabeltext [\s!fr] [\v!chapter=]
! \setuplabeltext [\s!es] [\v!chapter=Cap\'\itulo]
! \setuplabeltext [\s!ca] [\v!chapter=Cap\'\itol]
  \setuplabeltext [\s!it] [\v!chapter=]
  \setuplabeltext [\s!la] [\v!chapter=]
  \setuplabeltext [\s!pt] [\v!chapter=]
--- 266,273 ----
  \setuplabeltext [\s!ro] [\v!graphic=Graficul ]
 
  \setuplabeltext [\s!fr] [\v!chapter=]
! \setuplabeltext [\s!es] [\v!chapter=Cap\'itulo]
! \setuplabeltext [\s!ca] [\v!chapter=Cap\'itol]
  \setuplabeltext [\s!it] [\v!chapter=]
  \setuplabeltext [\s!la] [\v!chapter=]
  \setuplabeltext [\s!pt] [\v!chapter=]

Or better:

*** lang-ita.tex.old    2009-08-21 16:16:03.000000000 +0200
--- lang-ita.tex    2009-08-26 18:20:17.881411912 +0200
***************
*** 265,305 ****
  \setuplabeltext [\s!pt] [\v!graphic=Gr\'afico ]
  \setuplabeltext [\s!ro] [\v!graphic=Graficul ]
 
  \setuplabeltext [\s!fr] [\v!chapter=]
! \setuplabeltext [\s!es] [\v!chapter=Cap\'\itulo]
! \setuplabeltext [\s!ca] [\v!chapter=Cap\'\itol]
  \setuplabeltext [\s!it] [\v!chapter=]
  \setuplabeltext [\s!la] [\v!chapter=]
  \setuplabeltext [\s!pt] [\v!chapter=]
  \setuplabeltext [\s!ro] [\v!chapter=]
 
  \setuplabeltext [\s!fr] [\v!section=]
! \setuplabeltext [\s!es] [\v!section=Secci\'on]
! \setuplabeltext [\s!ca] [\v!section=Secci\'o]
  \setuplabeltext [\s!it] [\v!section=]
  \setuplabeltext [\s!la] [\v!section=]
  \setuplabeltext [\s!pt] [\v!section=]
  \setuplabeltext [\s!ro] [\v!section=]
 
  \setuplabeltext [\s!fr] [\v!subsection=]
! \setuplabeltext [\s!es] [\v!subsection=Subsecci\'on]
! \setuplabeltext [\s!ca] [\v!subsection=Subsecci\'o]
  \setuplabeltext [\s!it] [\v!subsection=]
  \setuplabeltext [\s!la] [\v!subsection=]
  \setuplabeltext [\s!pt] [\v!subsection=]
  \setuplabeltext [\s!ro] [\v!subsection=]
 
  \setuplabeltext [\s!fr] [\v!subsubsection=]
! \setuplabeltext [\s!es] [\v!subsubsection=Subsubsecci\'on]
! \setuplabeltext [\s!ca] [\v!subsubsection=Subsubsecci\'o]
  \setuplabeltext [\s!it] [\v!subsubsection=]
  \setuplabeltext [\s!la] [\v!subsubsection=]
  \setuplabeltext [\s!pt] [\v!subsubsection=]
  \setuplabeltext [\s!ro] [\v!subsubsection=]
 
  \setuplabeltext [\s!fr] [\v!subsubsubsection=]
! \setuplabeltext [\s!es] [\v!subsubsubsection=Subsubsubsecci\'on]
! \setuplabeltext [\s!ca] [\v!subsubsubsection=Subsubsubsecci\'o]
  \setuplabeltext [\s!it] [\v!subsubsubsection=]
  \setuplabeltext [\s!la] [\v!subsubsubsection=]
  \setuplabeltext [\s!pt] [\v!subsubsubsection=]
--- 265,307 ----
  \setuplabeltext [\s!pt] [\v!graphic=Gr\'afico ]
  \setuplabeltext [\s!ro] [\v!graphic=Graficul ]
 
+ %D We don't set these here. One can do that in a style.
+
  \setuplabeltext [\s!fr] [\v!chapter=]
! \setuplabeltext [\s!es] [\v!chapter=]
! \setuplabeltext [\s!ca] [\v!chapter=]
  \setuplabeltext [\s!it] [\v!chapter=]
  \setuplabeltext [\s!la] [\v!chapter=]
  \setuplabeltext [\s!pt] [\v!chapter=]
  \setuplabeltext [\s!ro] [\v!chapter=]
 
  \setuplabeltext [\s!fr] [\v!section=]
! \setuplabeltext [\s!es] [\v!section=]
! \setuplabeltext [\s!ca] [\v!section=]
  \setuplabeltext [\s!it] [\v!section=]
  \setuplabeltext [\s!la] [\v!section=]
  \setuplabeltext [\s!pt] [\v!section=]
  \setuplabeltext [\s!ro] [\v!section=]
 
  \setuplabeltext [\s!fr] [\v!subsection=]
! \setuplabeltext [\s!es] [\v!subsection=]
! \setuplabeltext [\s!ca] [\v!subsection=]
  \setuplabeltext [\s!it] [\v!subsection=]
  \setuplabeltext [\s!la] [\v!subsection=]
  \setuplabeltext [\s!pt] [\v!subsection=]
  \setuplabeltext [\s!ro] [\v!subsection=]
 
  \setuplabeltext [\s!fr] [\v!subsubsection=]
! \setuplabeltext [\s!es] [\v!subsubsection=]
! \setuplabeltext [\s!ca] [\v!subsubsection=]
  \setuplabeltext [\s!it] [\v!subsubsection=]
  \setuplabeltext [\s!la] [\v!subsubsection=]
  \setuplabeltext [\s!pt] [\v!subsubsection=]
  \setuplabeltext [\s!ro] [\v!subsubsection=]
 
  \setuplabeltext [\s!fr] [\v!subsubsubsection=]
! \setuplabeltext [\s!es] [\v!subsubsubsection=]
! \setuplabeltext [\s!ca] [\v!subsubsubsection=]
  \setuplabeltext [\s!it] [\v!subsubsubsection=]
  \setuplabeltext [\s!la] [\v!subsubsubsection=]
  \setuplabeltext [\s!pt] [\v!subsubsubsection=]