On Sun, Mar 2, 2025, 8:00 AM Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
On 2/28/2025 11:28 PM, Mohammad Hossein Bateni wrote:
> the following outputs "farsi" instead of "fa". is this the reason the
> translation of jalali month does not kick in?

We have these short and long names, and originally only had short ones,
for efficiency reasons (like memory limitations in tex engines). At some
point some showt nakes also started clashing, like \it : italian and
italic.

One can best use the long ones, while te shirt ones are used e.g. in lua
data tables (easier). Teh fact that ther eis \fa is sort of 'good luck'
because if we'd add a language today we don't define the short ones as
command any longer (we keep the existing ones for compatibility).

This make sense. 
My point is not why the language shows up as farsi.
The problem is that the labels in the lua table are for 'fa'.
So farsi or fa language doesn't pick them up.
See my example in previous emails (even for figure captions).

What's the solution? 
To add a key to install language to say what short form should be used on lua side?
Or to rewrite the lua table to use farsi as key not fa?

If you want to add a language (parent of child) you need to check that
with Tomas Hala first because it has to into his label managagement
project (with international students).

When conversions are added, Wolfgang needs to agree with it. When okay
it then can also be added to the interface (setups) specification.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________