Thank you for this confirmation.
Should not be better to replace on the wiki "file" by "language code" in this case?
Tomáš
Wed, Nov 04, 2020 ve 09:19:36AM +0100 Taco Hoekwater napsal(a):
# Hi,
#
# > On 3 Nov 2020, at 18:21, Tomas Hala wrote:
# >
# > Hi all,
# >
# > recently, in the ConTeXt list someone asked how to install Esperanto.
# >
# > I wanted to advise him, so I tried to do it on my computer and
# > I came across the following problem:
# >
# > According to the wiki documentation (https://wiki.contextgarden.net/Command/setuplanguage),
# > I should use "pattern=file" but neither file with full pathname, nor without works in the testing code below (TL2020).
# > The only one way how to setup it is to use a language code.
# >
# > Did I anything wrong, or is it only misdocumented on wiki? Or a feature not implemented yet?
#
# Looking at the ConTeXt source, I guess “file” is misleading here. It seems context always searches for lang-XX.lua, where the XX part is what you specify as value to the “patterns” argument.
#
# I’ll make a note in the wiki page.
#
# Taco
Tomáš Hála
--------------------------------------------------------------------
Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28
--------------------------------------------------------------------
http://akela.mendelu.cz/~thala