Downloads

Download tar.gz 9.82 KB
MD5: 70fa617cdb733e6bdea14b001602d7de
SHA-1: 95a0c95fc99d1db855924454c18b5c75a9a78ea6
SHA-256: 9d7e8aae4fdebce274c68eb43018393962d3234071887247cb5ab78d4b1dac9b
Download zip 10.93 KB
MD5: 331b9dce3375ae459ebaf6c1c88f2cd7
SHA-1: 2927f483ef4e07feca262a7372ee4ae12c4b3202
SHA-256: 97472419f91a362a7c1d5d0d9d6624b453fef7f44cf38dc2b937fb125c91bc84

Release notes

This page has been updated to include the latest 2.x improvements - not all features described here were available in 2.0

Upgrading from 1.x

When upgrading from version 1.x, version 2 this should work as a drop-in replacement if you had a standard configuration in 1.x. Visit the configuration page to see new options.

If you were previously using an alternative pattern then you may need to modify it in order to use the some 2.x features such as using language name to mark a section. Alternatively, disable the use alternative pattern option so that version 2 default pattern will be used.

New features

* Support for new Language Sections Extras.
* Added support for caching which can reduce site load considerably. See below.
* Can now define multiple strings for all languages and default sections, making these strings more "friendly" as they can be more meaningful and in several languages.
* Can use any combination of language code, language name and language prefix to mark sections.

See screenshot at http://drupal.org/node/746570

So, the following is possible:

=== spanish ===
This is Spanish
== fr ==
This is French
=== French ===
This is also French
=== all ===
This is shown for all languages
=== Otros ===
This is shown for other languages (otros is Spanish for others.)
=== English ===
This is shown for other languages, because we're using English as the default.

Other enhancements:

* User help can be configured.
* A single configuration can be shared among all input filters.

Caching support

Included in v2.4 and above. All earlier versions of LS could not be cached, due to a limitation of the way Drupal 6 caches the output from filters. LS now includes a patch to make Drupal 6 filter caching behave in a similar way to Drupal 7, and that allows LS output to be cached. The result may be a very significant reduction in server load if your LS-based content is frequently viewed. You can use Filter Check to check that caching is enabled for an input format.

The patch needs to be applied to filter.module in the drupal/modules directory. It is included in the LS distribution as check_markup_language_patch_1.patch

Created by: andy inman
Created on: 18 Mar 2010 at 22:14 UTC
Last updated: 21 Apr 2010 at 09:04 UTC
New features
Unsupported

Other releases