Skip to content

Commit

Permalink
There is no alternative language record (#110)
Browse files Browse the repository at this point in the history
* There is no alternative language record

This has been changed. No language page record is created, but a normal page record in an alternative language.

* no alternative page language

* Update Documentation/PageTranslations/Index.rst

Co-authored-by: Garvin Hicking <blog@garv.in>

* new wording

* Update Documentation/PageTranslations/Index.rst

Co-authored-by: Garvin Hicking <blog@garv.in>

* Update Index.rst

It does not matter if they are all fields. The user will see them. That is enough.

* Update Index.rst

* Apply suggestions from code review

---------

Co-authored-by: Garvin Hicking <blog@garv.in>
  • Loading branch information
franzholz and garvinhicking authored Jul 13, 2024
1 parent f2f6b2e commit 52ea1e6
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Documentation/PageTranslations/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
Translating pages
=================

When you want to translate a page in the page tree you create an
"alternative page language" record on that page. This contains fields
similar to that of the page record of the default language which you fill in
with translated content.

In order to translate a page in the page tree, create a
copy of it with a new language relation. Use the module :guilabel:`Page` and on the top of the right side
:guilabel:`Language Comparison` and the lower dropdown :guilabel:`Create a new translation of this page`.
As soon as you choose a language of this dropdown the translation process will start with the copy of this page.

The page copy will be generated in the default language with page property fields like `title` or `description` prefixed by a text similar to "[Translate to Language X:]".
The translated content needs to be put here, replacing the placeholder text (including the prefix and
the copied default language contents).

Select the :guilabel:`Language Comparison` function in the upper menu bar of the
:guilabel:`Web > Page` module. Then use the select box to create a new
translation of the page:
Expand All @@ -32,6 +36,6 @@ The form with the fields for the translated page will then be displayed:
Most of the fields are the same as for the page of the default language. Below
the fields the content of the default language is shown.

If a page has no translation (that means, no "alternative page language" record),
its content cannot be translated, no matter how many system languages
As long as a page has no translated page record,
its contents cannot be translated, no matter how many system languages
have been defined.

0 comments on commit 52ea1e6

Please sign in to comment.