Requirements
Resources
Going all Multilanguage / i18n
Everything in 2sxc is multi-language right from the start. It's important to understand that every field in 2sxc can be translated or not - and the lookup happens automatically. So the following examples will automatically show the correct value based on the language you're on.
There are two important types of multi-language:
- Multi-Language Resources - like messages / button labels etc.
- Multi-Language Content - things the content editor will work with
If you installed the Tutorial App on your system these examples may not work. That's because Dnn / 2sxc must be have DE and EN activated before installing the tutorial app. Otherwise it will only import the EN data and not import the DE data.
The samples can differ based on your Razor base class or if you're running an old version.
Switch to Typed (2sxc 16+) Switch to Dynamic (Razor14 or below)
Switch to Typed (2sxc 16+) Switch to Dynamic (Razor14 or below)
Multi-Language (i18n) Content
The editor can edit anything and choose which field to translate. In the following example, only one book is translated - and even the cover-image is translated.