[NTG-context] Translation of ConTeXt interface
Garulfo
garulfo at azules.eu
Tue Jun 30 23:09:57 CEST 2020
>> The cause for the missing translations is this line in x-setups-basics.mkiv
>> replace('cd:instances/cd:constant', 'value', variables)
>> which works only when the instances are listed in the command entry like this
>> <cd:command name="itemgroup" type="environment" ... >
>> ...
>> <cd:instances>
>> <cd:constant value="itemize"/>
>> </cd:instances>
>> </cd:command>
>> which is never the case because I load the entries with cd:resolve like here:
>> <cd:define name="instance-itemgroup">
>> <cd:constant value="itemize"/>
>> </cd:define>
>>
>> <cd:command name="itemgroup" type="environment" ... >
>> ...
>> <cd:instances>
>> <cd:resolve name="instance-itemgroup"/>
>> </cd:instances>
>> </cd:command>
Thanks a lot Wolfgang for the explanations.
A remaining question, due to the fact that I am not sure to understand
all the implications:
Is there some hope to find a solution to also translate the "cd:resolve"
entries for the setup-xx.pdf files ? or does it mean that such a request
is not compatible with the basic structure of the data / of the
translation process ?
Thanks again, for your help and for your time.
More information about the ntg-context
mailing list