Drupal 7 Language Sections module
If you have very simple content translation needs, you might want to check out the Language Sections module.
- To try it, install the module and then edit your Text formats to include the
Language Sectionsfilter. For example, to add it to your
Full HTMLtext format:
- Go to
Configuration » Content authoring » Text formats » Full HTML.
- Select the Language Sections checkbox.
- Click Save configuration.
- Go to
- Then edit a node (with multilingual support enabled) and choose
Language neutralfor the language and
Full HTMLfor the text format.
- Now you can add text to the node body like this:
== all ==
This is for all languages.
== de ==
This is for German only.
== en ==
This is for English only.
The language code is used within the equal sign delimiters to designate the language of text below it. For the example above, if you are viewing the website in German, you'll see the text marked with all and with de.
The Language Sections technique might be useful on the home page or the 404 page if you want to maintain one node and translate parts of the page as needed. It might also come in handy for simple blocks and views header or footer text.
This is a featured content block that has been configured to show blog nodes with terms SEO or Drupal SEO by the author kristen. It shows random list of 20 results in the block and 30 results on the more page.