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". 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

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.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.6 Download (10.01 KB) 2009-Sep-29 Notes
5.x-1.5 Download (10 KB) 2009-Sep-22 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev Download (10.04 KB) 2008-Oct-08 Notes
5.x-1.x-dev Download (10 KB) 2008-Jul-30 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.