Ionize User Guide Version 0.9.6


Static translations

"Static translations" are translated elements which have nothing to with content, such as "Go home" or "Submit button".

For example, the text "Website created by My Agency" at the bottom of each website page can of course be written “hardly” in the view, but it could be nice to make it available for each language of the website.

So if the user visit the website in french, this text will become "Site conçu par Mon Agence", which of course is nicer for french readers.

To manage static translation : Content > Translations

More about static translations

Static translations are stored in a language file, linked to the current theme.

This file is generated by Ionize.

Folder : /themes/your_theme/language/xxx/your_theme_lang.php

In this example, "xxx" is the language code on 2 or 3 chars, and "your_theme" is the name of your theme.

Using static translations in views

  1. Simply add the tag <ion:translation term=”your_term” /> in one of your view.
  2. Go to the Ionize menu : Content > Translations
  3. You will find your term and be able to write the value for each language