Language Sections

netgenius - March 31, 2008 - 16:26

Designed for multi-language sites, Language Sections provides a way of storing content sections for different languages in a single text area.

Applications include:

* Views module header, footer and "empty" text sections, to make them "language aware".
* Node bodies, to display something like "This content is only available in English" when someone tries to view in a language for which no translated version of the content exists.
* Text sections provided by other modules which do not offer multi-language capability - see below.

This module provides an "input filter", so will only be useful for text sections which make use of "input formats".

Other modules with which Language Sections can be useful

* Views
* Panels for "custom content" panes (but don't set "simple cache" in Panels 2.)
* Educational Block

Please contact me giving details of other relevant modules that you know about so that I can add them to this list.

Example:

This is the text as entered:
---------------------
This text will be displayed for all languages.
=== es ===
Some Spanish text goes here.
=== en ===
Some English text goes here.
=== qq ===
This part will be displayed for all languages.
---------------------

When language "es" is selected by the user, the above text will be filtered to become:
---------------------
This text will be displayed for all languages.
Some Spanish text goes here.
This part will be displayed for all languages.
---------------------

Releases

Official releasesDateSizeLinksStatus
5.x-1.22008-Apr-078.03 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Apr-088.04 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.