Login  Register

Re: support for i18n (lang var) in asciidoctor*

Posted by ciampix on Feb 20, 2021; 10:21am
URL: https://discuss.asciidoctor.org/support-for-i18n-lang-var-in-asciidoctor-tp8521p8523.html

On Sat, Feb 20, 2021 at 03:06:25AM -0700, mojavelinux [via Asciidoctor :: Discussion] wrote:

>
> What you may be looking for is described here:
> https://docs.asciidoctor.org/asciidoctor/latest/localization-support/
>
> That's the extent to which the processor supports localization. The
> processor does not attempt to manage translation of the content itself.
>
> Best Regards,
>
> -Dan

Wow that fast a fast reply! Thanks!

Ok let me reformulate the question.

In order to mimic the same behaviour, since for what I have seen, simply
adding the -a lang=xx does not actually work, that implies that:

1) I would espect that language definitions for labels were included in
   the asciidoctor* packages. Apparently that is not so actually.
   Why not?

2) since 1) it seems that I have to include language definition for labels
   in my build chain. Where I can download language definition for labels
   of all languages (if there are any, I am sure that somewhere there are
   I ever emember to have sent you my native language strings sometime ago)
   or have I to infer those strings from the old asciidoc language
   definitions (lang-xx.conf)?

TIA

--

Saluton,
Marco Ciampa