Next: kapitola 10  Finding and Replacing Text Up: část I  Uživatelský návod Previous: kapitola 8  Vytváření online kurzů


Kapitola 9
Language Support

This chapter discusses how the RichDoc framework supports various languages. You may easily type text in any language that is supported by your local operating system, that is, your system must have installed appropriate fonts and input facilities. However, there is more than just typing text. This chapter tells you what you need to know to prepare non-English documents.

9.1 Setting the Language

As mentioned in sekce 1.5, you select the primary language of a document when you are creating it. The language affects certain actions of the Editor, such as hyphenation, spell-checking, and text search. It also affects the language of text fragments automatically inserted to the document, such as prefixes of section titles. That is, when you change the document language from English to Czech, “Chapter 5” automatically turns to “Kapitola 5”, “Table of Contents” to “Obsah”, etc. Algorithms that perform text sorting are also affected: for instance, if rules for the Czech language are in operation, the text ‘ch’ is treated as single character during sorting, that appears between ‘h’ and ‘i’. The word ‘chata’ is thus considered after the word ‘hrad’ in alphabetical order, unlike English sorting rules.

The current version of the RichDoc Framework supports only two languages: English and Czech. If you need a support for another language, you may request it from the authors, or you may try to create required resources yourself, see sekce 18.1. If the support for some language is not available, it is still good idea to set the document's language field to the correct value, just as information of potential readers or bookkeeping programs that may receive your document, or simply because the framework should not try to apply English-specific rules, such as morphology.


Next: kapitola 10  Finding and Replacing Text Up: část I  Uživatelský návod Previous: kapitola 8  Vytváření online kurzů