Re: [docbook-apps] how to embed youtube videos using docbook 5.1 / xsltproc?

2022-12-16 Thread Alemps Florimond
 Hello

Just overload the template  with the expected 
html code for the iframe.
https://www.w3schools.com/html/html5_video.asp might be an alternative to 
iframe.


Regards,Florimond
Le vendredi 16 décembre 2022 à 16:51:37 UTC+1, Shlomi Fish 
 a écrit :  
 
 how to embed youtube videos using docbook 5.1 / xsltproc?

I want "iframe"s similar to this HTML5 page:

https://www.shlomifish.org/philosophy/culture/case-for-commercial-fan-fiction/

-- 

Shlomi Fish      https://www.shlomifish.org/
List of Graphics Apps - https://shlom.in/graphics

Real programmers don’t write workarounds. They tell their users to upgrade
their software.
    — https://www.shlomifish.org/humour.html

Please reply to list if it's a mailing list post - https://shlom.in/reply .

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

  

Re: [docbook-apps] UI strings vs manual strings ?

2022-12-06 Thread Alemps Florimond
 Hello,
I would transform the bundle.properties in a document (article, book or section 
whatever)Each line of the file corresponds to somethine like :
My message
One element simpara for one guilabel is useless : it is just to make it 
readable in a DocBook parse.

In the document, you include the message - something like :You should see 
 after clicking 
on the button.
The French, English, German version of the document will take advantage of the 
corresponding translated version of bundle.properties.xml

As far as no id message starts with a number (NC Name for xml:id) you are 
ok.With an XSLT 2.0 processor, it might even be possible to transform the 
bundle.properties in XML.

Regards,Florimond
Le mardi 6 décembre 2022 à 00:05:49 UTC+1, Jean-Christophe Helary 
 a écrit :  
 
 What's the best way in a DocBook centered process to ensure that the list of 
terms used in a software UI is (semi-automatically?) taken into account in the 
DocBook sources that describe that software?

Problem at hand:

- a Java application with ~2k UI strings (not all users facing), in a 
Bundle.properties file
- a ~80K words DocBook manual

It is not trivial to keep track of the whole string set (searches, etc.)

Also, the l10n process takes place on the DocBook sources, not on the HTML 
output, so tricks like  don't work because translators 
don't see the target terms.

I'm left with having to rewrite the strings explicitly and that's a pain, and 
also adds risks of mistakes in translations.

-- 
Jean-Christophe Helary @jchel...@emacs.ch
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org