pdf-plugin-structure_fo-i18n.dita 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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<indexterm>adding support for</indexterm></indexterm>
  15. <indexterm>languages<indexterm>ISO 639-1</indexterm></indexterm>
  16. <indexterm>ISO 639-1</indexterm>
  17. <indexterm>I18N<index-see-also>languages</index-see-also></indexterm>
  18. <indexterm>locale<index-see-also>languages</index-see-also><index-see-also>args.dita.locale</index-see-also></indexterm>
  19. <indexterm>catalog<indexterm><filepath>catalog.xml</filepath></indexterm></indexterm>
  20. <indexterm>catalog<indexterm>adding languages</indexterm></indexterm>
  21. </keywords>
  22. </metadata>
  23. </prolog>
  24. <body>
  25. <p>As with index configuration and variable overrides, each file contains data for a single language, and should
  26. take that language’s ISO 639-1 language designator as its name. </p>
  27. <p>Each configuration file contains mappings of certain symbols to the Unicode codepoint which should be used to
  28. represent them in the given locale.</p>
  29. <p>The best way to start editing a custom configuration is by making a copy of the original from
  30. <filepath>org.dita.pdf2/cfg/fo/i18n</filepath> and making changes as desired.</p>
  31. <p>In order to apply a custom configuration to your publishing outputs, edit <filepath>catalog.xml</filepath> and
  32. uncomment the appropriate entry in the “I18N configuration override entries” section.</p>
  33. </body>
  34. </topic>