From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113021 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alain Delmotte via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Adaptation of ConTeXt to Esperanto Date: Sat, 9 Oct 2021 13:57:19 +0200 Message-ID: References: <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org> <18e793df-a99e-dad8-6d0f-ea7c0807da55@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1041459667193437243==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35843"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 Cc: Alain Delmotte To: liste ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 09 13:57:56 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZAzE-00098r-Fy for gctc-ntg-context-518@m.gmane-mx.org; Sat, 09 Oct 2021 13:57:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4D278287E96; Sat, 9 Oct 2021 13:57:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id caKXByTz6eEP; Sat, 9 Oct 2021 13:57:22 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 625FA28896C; Sat, 9 Oct 2021 13:57:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6F1428896A for ; Sat, 9 Oct 2021 13:57:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nb8KAf2-LMry for ; Sat, 9 Oct 2021 13:57:20 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=45.157.188.12; helo=smtp-bc0c.mail.infomaniak.ch; envelope-from=alain.delmotte@leliseron.org; receiver= Original-Received: from smtp-bc0c.mail.infomaniak.ch (smtp-bc0c.mail.infomaniak.ch [45.157.188.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 44A53287E96 for ; Sat, 9 Oct 2021 13:57:19 +0200 (CEST) Original-Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4HRNpR34YjzMpnnZ for ; Sat, 9 Oct 2021 13:57:19 +0200 (CEST) Original-Received: from [IPv6:2a01:cb1d:8c71:6000:1d54:f547:dbd4:7e94] (unknown [IPV6:2a01:cb1d:8c71:6000:1d54:f547:dbd4:7e94]) by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4HRNpR1MPHzlhP4Z for ; Sat, 9 Oct 2021 13:57:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=leliseron.org; s=20191114; t=1633780639; bh=6idatT/nAmBE5DN5vI15vfgUw8CwdmSXOvUfMytzyBY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=lba4x//c9vlwX/Z5NbAikXtGUj99er7xQjmMfwGKoBG292DWdGr1vdWamfsmIUxwg irFnM516zacTPGtSmyiDw1KzrjYBXrwxkmHHeSQDBb5kFtI+aDu78OV88mayVmv4Ag Y8u0+aGJof7smXJ7F7gG9aGY6ZpLUeoSYNt0ZFpY= In-Reply-To: <18e793df-a99e-dad8-6d0f-ea7c0807da55@gmail.com> Content-Language: fr X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113021 Archived-At: --===============1041459667193437243== Content-Type: text/html; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: quoted-printable


Le 9/10/2021 =C3=A0 12:49, Wolfgang Sc= huster a =C3=A9crit=C2=A0:
Alain Delmotte schrieb am 09.10.2021 um 11:23:
Hi!

Le 9/10/2021 =C3=A0 10:58, Wolfgang Schuster a =C3=A9crit=C2=A0:
Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07:
Hi,

Some time ago I did prepare the files to support Esperanto in Context (hyphenation and translation of terms).

I thought it was working, testing with the command \date, which gives the correct format.

But today I remarked that the legends for Figure and Table (and perhaps other) are in English.

The file lang-txt.lua is there and contains the translations for Esperanto.

The language definitions for esperanto in lang-def.mkxl are in the wrong order, the first definition has to be "eo".


\installlanguage
- [\s!esperanto]
+ [\s!eo]
=C2=A0 [\c!spacing=3D\v!packed,
=C2=A0=C2=A0 \c!leftsentence=3D\endash,
=C2=A0=C2=A0 \c!rightsentence=3D\endash,
=C2=A0=C2=A0 \c!leftsubsentence=3D\endash,
=C2=A0=C2=A0 \c!rightsubsentence=3D\endash,
=C2=A0=C2=A0 \c!leftquote=3D\upperleftsinglesixquote,=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %U+2018,
=C2=A0=C2=A0 \c!rightquote=3D\upperrightsingleninequote,=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 %U+2019,
=C2=A0=C2=A0 \c!leftquotation=3D\upperleftdoublesixquote,=C2=A0= =C2=A0=C2=A0=C2=A0 %U+201C,
=C2=A0=C2=A0 \c!rightquotation=3D\upperrightdoubleninequote,=C2= =A0 %U+201D,
=C2=A0=C2=A0 \c!date=3D{\v!day,-a\space de\space,\v!month,\spac= e \v!year},
=C2=A0=C2=A0 \s!patterns=3Deo,
=C2=A0=C2=A0 \s!lefthyphenmin=3D2,
=C2=A0=C2=A0 \s!righthyphenmin=3D2]

-\installlanguage[\s!eo][\c!default=3D\s!esperanto]
+\installlanguage[\s!esperanto][\c!default=3D\s!eo]


Wolfgang

Thanks Wolfgang, I did find the file and the wrong order.

Now, what should I do? I modified it outside context-lmtx in a copy.

Replace the original and???

You have to make the changes in the original file and afterwards generate the format file with

=C2=A0=C2=A0=C2=A0 context --make

If everything works as expected report back and Hans can apply the fix on his machine to ensure they are included in the next release because when you make a update your changes are overwritten.

Wolfgang
Thanks Wolfgang, it works perfectly.

You can report to Hans and thank him for the nice work.

Alain

--===============1041459667193437243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1041459667193437243==--