Author:
TwistedInteractive
Version:
0.33
Released:
17 March 2011
Category:
Multilingual

Browse

Description

Multilanguage support for Symphony 2.0.7 and higher

DEPRECATED:

Please note that this extension is no longer maintained. For a more solid and better (community supported) multilanguage solution, use the Language Redirect, Multilangual field and Page LHandles extensions.

Old documentation:

This Symphony extension adds a multilanguage support layer on top of Symphony 2.0.7 and higher.

Important: This extension is still in beta. Now it supports multilanguage support for input-fields and textarea's, but dropdowns, multi-selectboxes and most rich text editors are currently not (yet) supported.

Update: since v0.3b CKEditor is supported as rich text editor.

Installation:

Create a directory called multilanguage in your extension directory and place these files in there.

How it works:

On the backend

In preferences, you now can add multiple language codes which will become available through the site (like 'en', 'de', 'nl', etc...) When you create a section, each field now has an extra parameter called 'Multilanguage', making the field multilingual. Now, when you create an entry, you'll note that there are extra tabs on top of the page, each representing it's own language. Also, a new datasource is available in 'Components', called 'available languages', which represents the different languages as supplied in preferences.

On the frontend

The first parameter of the url will be the language code (for example: http://mysite.com/en/my-page). This parameter is added to the parameter pool called $url-language-code. This represents the code of the current language shown. If no language code is provided in the URL, by default the first language as given in preferences is chosen. According to the chosen language, the right content is automaticly placed in your datasource, so there is no need for filtering languages in your XSL templates.

Important notes

  • This extension modifies the .htaccess file, a backup is made, but if you use other extensions which also modify the .htaccess file, errors might appear.
  • This extension is still in beta. Now it supports multilanguage support for input-fields and textarea's, but dropdowns, multi-selectboxes and rich text editors are currently not (yet) supported.

Repository

http://github.com/TwistedInteractive/multilanguage

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details