Prezeráte obsah pomocníka verzie:
- 6.5
- 6.4
- 6.3
- 6.2
- Staršie verzie
Multilingual web sites generally provide some amount of content in multiple languages. The site is authored in one language and then translated into other languages. Generally, multilingual sites consists of branches of pages, where each branch contains the pages of the site in a different language.
The sample Geometrixx Demo Site includes several language branches and uses the following structure:
/content |- geometrixx |- en |- fr |- de |- es |- it |- ja |- zh
Each language branch of a site is called a language copy. The root page of a language copy, known as the language root, identifies the language of the content in the language copy. For example, /content/geometrixx/fr is the language root for the French language copy. Language copies must use a correctly-configured language root so that the correct language is targeted when translations of a source site are performed.
The language copy for which you originally author site content is the language master. The language master is the source that is translated into other languages.
Use the following steps to prepare your site for translation:
- Create the language root of your language master. For example, the language root of the English Geometrixx demo site is /content/geometrixx/en. Ensure that the language root is correctly configured according to the information in Creating a Language Root.
- Author the content of your language master.
- Create the language root of each language copy for your site. For example, the French language copy of the Geometrixx sample site is /content/geometrixx/fr.
Create a language root as the root page of a language copy that identifies the language of the content. After you create the language root, you can create translation projects that include the language copy.
To create the language root you create a page and use an ISO language code as the value for the Name property. The language code must be in one of the following formats:
- <language-code>
The supported language code is a two-letter code as defined by ISO-639-1, for example en.
- <language-code>_<country-code> or <language-code>-<country-code>
The supported country code is a lower-case or upper-case two-letter code as defined by ISO 3166, for example en_US, en_us, en_GB, en-gb.
For example, the root page of the French language copy of the Geometrixx site has fr as the Name property. Note that the Name property is used as the name of the page node in the repository, and therefore determines the path of the page. (http://localhost:4502/content/geometrixx/fr.html)
The following procedure uses the touch-optimized UI to create a language copy of a web site. For instructions that use the Classic UI, see Creating a Language Root Using the Classic UI.
The touch-optimized UI provides a References panel that shows a list of language roots that have been created.
