Language Sections
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". On Drupal 5, Views Translate may also be useful.
- Language-specific custom 404 pages etc.
- 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 with suggestions of other modules to be added to the above list.
Example
Text and sections are marked in a simple way, here's an example:
=== es ===
This text will only be displayed when Spanish language is selected by the user.
=== fr ===
This text will only be displayed when French language is selected by the user.
=== qz ===
This part will be displayed when the user's selected language is neither Spanish nor French, i.e. all other languages.
=== qq ===
This part will be displayed for all languages.
Please read the documentation for further information.
Translation of nodes
Please note this module is not designed to be a complete solution for translating node content - it only deals with text fields, so while it can work with a node body and any CCK based text fields, it will not allow you to translate node title etc.
Commercial support and customization
Commercial services are available from netgenius.co.uk.
Feedback
For general comments, complaints, praise etc, please add a review.
