Mercurial > mplayer.hg
comparison DOCS/xml/README.maintainers @ 18409:0b8825d823dd
Add a note about main.xml.
author | diego |
---|---|
date | Tue, 09 May 2006 13:49:15 +0000 |
parents | 7d35148959d2 |
children | e9736e48523f |
comparison
equal
deleted
inserted
replaced
18408:6484274d41e5 | 18409:0b8825d823dd |
---|---|
20 | 20 |
21 | 21 |
22 Adding new translations | 22 Adding new translations |
23 ~~~~~~~~~~~~~~~~~~~~~~~ | 23 ~~~~~~~~~~~~~~~~~~~~~~~ |
24 | 24 |
25 1) Create a new subdirectory and copy the XML files there. | 25 1) Create a new subdirectory and copy the XML files there. main.xml must not be |
26 copied, it is autogenerated. | |
26 | 27 |
27 2) Make sure to create a 'Makefile' for the translation -- you can | 28 2) Make sure to create a 'Makefile' for the translation -- you can |
28 use 'en/Makefile' as an example. | 29 use 'en/Makefile' as an example. |
29 | 30 |
30 3) Set <book lang="XX"> to your language code if the DocBook XSL | 31 3) Set <book lang="XX"> to your language code if the DocBook XSL |
44 <xsl:include href="html-common.xsl"/> | 45 <xsl:include href="html-common.xsl"/> |
45 | 46 |
46 </xsl:stylesheet> | 47 </xsl:stylesheet> |
47 | 48 |
48 html-chunk.xsl: | 49 html-chunk.xsl: |
49 | 50 |
50 <?xml version="1.0" encoding="ISO-8859-1"?> | 51 <?xml version="1.0" encoding="ISO-8859-1"?> |
51 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | 52 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
52 version="1.0"> | 53 version="1.0"> |
53 | 54 |
54 <xsl:import href="../html-chunk.xsl"/> | 55 <xsl:import href="../html-chunk.xsl"/> |