globalization-support.dita 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <concept id="globalization-support">
  5. <title>Globalization support</title>
  6. <titlealts>
  7. <navtitle>Globalization support</navtitle>
  8. </titlealts>
  9. <shortdesc>DITA Open Toolkit offers globalization support in the following areas: generated text, index sorting, and
  10. bi-directional text.</shortdesc>
  11. <prolog>
  12. <metadata>
  13. <keywords>
  14. <indexterm><xmlatt>dir</xmlatt></indexterm>
  15. <indexterm><xmlatt>index:lang</xmlatt></indexterm>
  16. <indexterm>languages<indexterm>index sorting</indexterm></indexterm>
  17. <indexterm>languages<indexterm>right-to-left</indexterm></indexterm>
  18. <indexterm>languages<indexterm>bi-directional</indexterm></indexterm>
  19. <indexterm>English</indexterm>
  20. <indexterm>strings</indexterm>
  21. <indexterm>index<indexterm>sorting</indexterm></indexterm>
  22. <indexterm>bi-directional languages</indexterm>
  23. <indexterm>generated text</indexterm>
  24. <indexterm>CSS<indexterm>bi-directional languages</indexterm><indexterm>right-to-left languages</indexterm></indexterm>
  25. </keywords>
  26. </metadata>
  27. </prolog>
  28. <conbody>
  29. <p>
  30. <dl>
  31. <dlentry>
  32. <dt>Generated text</dt>
  33. <dd><term>Generated text</term> is text that is rendered automatically in the output that is generated by
  34. DITA-OT; this text is not located in the DITA source files. The following are examples of generated text:
  35. <ul>
  36. <li>The word "Chapter" in a PDF file.</li>
  37. <li>The phrases "Related concepts," "Related tasks," and "Related reference" in HTML output.</li>
  38. </ul></dd>
  39. </dlentry>
  40. <dlentry>
  41. <dt>Index sorting</dt>
  42. <dd>DITA-OT can use only a single language to sort indexes.<draft-comment author="Kristen James Eberlein"
  43. time="11 August 2012">What does the ICU for Java provide? Does index sorting occur if ICU for Java is NOT
  44. installed?</draft-comment></dd>
  45. </dlentry>
  46. <dlentry>
  47. <dt>Bi-directional text</dt>
  48. <dd>DITA-OT contains style sheets (CSS files) that support both left-to-right (LTR) and right-to-left (RTL)
  49. languages in HTML based transformations. PDF supports both LTR and RTL rendering based on the document
  50. language. The <xmlatt>dir</xmlatt> attribute can be used to override the default rendering direction.</dd>
  51. </dlentry>
  52. </dl>When DITA-OT generates output, it takes the first value for the <xmlatt>xml:lang</xmlatt> attribute that it
  53. encounters, and then it uses that value to create generated text, perform index sorting, and determine which
  54. default CSS file is used. If no value for the <xmlatt>xml:lang</xmlatt> attribute is found, the toolkit defaults
  55. to U.S. English. You can use the <xref href="../parameters/configuration-properties.dita"
  56. >configuration.properties</xref> to change the default language.</p>
  57. </conbody>
  58. </concept>