# Docbook

> Docbook files localization in Crowdin

URL: https://store.crowdin.com/docbook
Identifier: docbook
Category: File Formats
Type: App
Author: Crowdin

Install this app to be able to translate your Docbook files with Crowdin.

## File Format Details

| Attribute | Value |
| --------- | ----- |
| File Extension | .db, .xml, .docbook, .dbk |
| [API Type](https://developer.crowdin.com/api/v2/#operation/api.projects.files.post) | docbook |
| Source can be edited in Crowdin | No |
| Generating translated files via [Bundles](https://support.crowdin.com/bundles/) | [Search Crowdin Store](https://store.crowdin.com/tags/string-exporter) |
| Supports pluralization | No |
| WYSIWYG Preview in the editor | Yes |
| Supported types of contextual information | WYSIWYG |
| Custom attributes | No |
| Existing translations import possibility | Key-value mapping (trivial) |

## Sample File

```xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article [
<!ENTITY % allent SYSTEM "w3centities-f.ent">
%allent;
]>
<article xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude" 
         xmlns:svg="http://www.w3.org/2000/svg" 
         xmlns:mml="http://www.w3.org/1998/Math/MathML"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:db="http://docbook.org/ns/docbook" version="5.0">
  <info>
    <title>Your Book Title</title>
    <subtitle>Your Book Subtitle</subtitle>
    <copyright>
      <year>YEAR</year>
      <holder>Your Name</holder>
      
    </copyright>
    <author>
      <personname>
        <firstname>Your</firstname>
        <surname>Name</surname>
      </personname>
      <address>
        <city>Your City</city>
        <street>123 Fake Street</street>
        <postcode>55555</postcode>
        <country>U.S.A</country>
      </address>
    </author>
  </info>

  <sect1>
    <title>First Section</title>
    <para></para>
  </sect1>

    

  <index/>
</article>
```
