ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Alain Delmotte via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Adaptation of ConTeXt to Esperanto
Date: Sat, 9 Oct 2021 10:58:54 +0200	[thread overview]
Message-ID: <cb52bec9-6eb0-72eb-6c6e-76da19064c00@gmail.com> (raw)
In-Reply-To: <a4982271-e290-aca3-45f1-ad3dbca06b12@leliseron.org>

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]
   [\c!spacing=\v!packed,
    \c!leftsentence=\endash,
    \c!rightsentence=\endash,
    \c!leftsubsentence=\endash,
    \c!rightsubsentence=\endash,
    \c!leftquote=\upperleftsinglesixquote,         %U+2018,
    \c!rightquote=\upperrightsingleninequote,      %U+2019,
    \c!leftquotation=\upperleftdoublesixquote,     %U+201C,
    \c!rightquotation=\upperrightdoubleninequote,  %U+201D,
    \c!date={\v!day,-a\space de\space,\v!month,\space \v!year},
    \s!patterns=eo,
    \s!lefthyphenmin=2,
    \s!righthyphenmin=2]

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


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-10-09  8:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 20:07 Alain Delmotte via ntg-context
2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
2021-10-08 21:22   ` Alain Delmotte via ntg-context
2021-10-09  8:58 ` Wolfgang Schuster via ntg-context [this message]
     [not found]   ` <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org>
2021-10-09 10:49     ` Wolfgang Schuster via ntg-context
2021-10-09 11:57       ` Alain Delmotte via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb52bec9-6eb0-72eb-6c6e-76da19064c00@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).