Jump to main content
URZ Workshop „Creating websites with TUCAL“
Multilingualism

Multilingual pages

Recommended variant: Full translation with identical structure

Basic structure is retained, a reference to the other language version is automatically inserted for each translated page, if available (the language can then be switched in the page header).

Procedure:

  • Modify the config.inc file via WFM:
    Screenshot of the WFM language settings: English with option 'automatically based on extension'
  • Create a config.inc.en file:
    Screenshot of the file list and marking the icon with two flags Set the link to German to „automatisch anhand Endung“ (automatically based on extension) and translate especially the navigation hierarchy and the menu bar(s). Append .en to each file name.
  • For each content page, create a corresponding English page by clicking on the icon icon with two flags,
    Thus e. g. from index.html a file index.html.en is created.
    • This support is currently implemented for English only
    • Some translation tools are linked (DeepL, Google Translate, BEOLINGUS dictionary)
    • The file extensions for the other languages are: French .fr, Catalan .ca, Polish .pl, Russian .ru, Czech .cs, Spanish .es, Ukrainian .uk, Hungarian .hu

Other variant: Partial translation with changed structure

With this variant you can build a separate foreign-language version with a different structure, e. g. to summarize pages and translate only the most important information. The switching does not take place here „target-exactly“ as with the full translation, it always leads to a fixed starting page.

Procedure:

  • Create these English pages best in a subfolder, e. g. with name en/
    These pages use their own config.inc.en with the following settings:
    Screenshot of the WFM language settings: English config.inc.en
  • In the config.inc of the German pages change:
    Screenshot of the WFM language settings: German config.inc

Notes on using the variants

Both variants can be set separately for English, French, Russian, Czech, Polish, Spanish, Catalan and Hungarian language. For example, you can offer a full English translation, while referring to a partial translation for other languages, e. g.

Screenshot of the WFM language settings: Use of different translation variants

We also offer instructions on this on our website and in the blog.

Please remember the other language versions of your website as well and always update all files when making any changes in the future.