On 24 April 2016 at 07:56, Dan Allen <[email protected]> wrote: > I want to start by saying that we have a big push right now to complete the > Asciidoctor user manual. > > On Sat, Apr 23, 2016 at 7:35 AM, 'Marco Ciampa' via asciidoc > <[email protected]> wrote: >> >> How can I do in asciidoctor: >> >> -a lang=it >> >> for example? > > > You can set the language that way. That will fill in the appropriate > attribute in the DocBook output for the i18n support in the DocBook > toolchain to kick in. > > For the HTML output, all that does is set the lang attribute on the <html> > element right now. To get the the labels to switch over, you need to set > them individually. > > -a lang=it -a caution-caption=Attenzione ...
Can't those be set in the document? After all it isn't going to change languages by itself :) > > This is explained in detail in > http://asciidoctor.org/docs/user-manual/#customizing-built-in-labels > > Assigning these attributes manually is necessary until > https://github.com/asciidoctor/asciidoctor/issues/1129 is resolved. That's > where we stand right now. > > -Dan > > > -- > Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
