pdf-plugin-structure_fo-i18n.dita 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <topic id="internationalization_configuration_the_fo_i18n_folder">
  5. <title>Internationalization configuration</title>
  6. <titlealts>
  7. <navtitle>Internationalization</navtitle>
  8. </titlealts>
  9. <shortdesc>The <filepath>fo/i18n</filepath> folder houses custom internationalization files that override the standard
  10. configurations in <filepath>org.dita.pdf2/cfg/fo/i18n</filepath>.</shortdesc>
  11. <prolog>
  12. <metadata>
  13. <keywords>
  14. <indexterm>languages
  15. <indexterm>adding support for</indexterm></indexterm>
  16. <indexterm>languages
  17. <indexterm>ISO 639-1</indexterm></indexterm>
  18. <indexterm>ISO 639-1</indexterm>
  19. <indexterm>I18N
  20. <index-see-also>languages</index-see-also></indexterm>
  21. <indexterm>locale
  22. <index-see-also>languages</index-see-also>
  23. <index-see-also>args.dita.locale</index-see-also></indexterm>
  24. <indexterm>catalog
  25. <indexterm><filepath>catalog.xml</filepath></indexterm></indexterm>
  26. <indexterm>catalog
  27. <indexterm>adding languages</indexterm></indexterm>
  28. </keywords>
  29. </metadata>
  30. </prolog>
  31. <body>
  32. <p>As with index configuration and variable overrides, each file contains data for a single language, and should
  33. take that language’s ISO 639-1 language designator as its name. </p>
  34. <p>Each configuration file contains mappings of certain symbols to the Unicode codepoint which should be used to
  35. represent them in the given locale.</p>
  36. <p>The best way to start editing a custom configuration is by making a copy of the original from
  37. <filepath>org.dita.pdf2/cfg/fo/i18n</filepath> and making changes as desired.</p>
  38. <p>In order to apply a custom configuration to your publishing outputs, edit <filepath>catalog.xml</filepath> and
  39. uncomment the appropriate entry in the “I18N configuration override entries” section.</p>
  40. </body>
  41. </topic>