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 Sections
filter. For example, to add it to yourFull HTML
text 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 neutral
for the language andFull HTML
for 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.
Attachment | Size |
---|---|
8185_03_03.png | 1.94 KB |
- kristen's blog
- 74426 reads
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.
- Drupal Pathauto Module
- Drupal SEO Modules
- Drupal Pathauto URL Aliases Settings
- Drupal Has Multiple h1 Tags
- Basic SEO Top 10
- Make Drupal SEO Friendly
- Drupal Nofollow Link Sculpting
- BADCamp Drupal SEO Presentation 2009
- Kristen
- Drupal Node Teaser SEO
- Free SEO Tools
- Drupal SEO Reviews
- 503 HTTP Status Code when Site Down
- Drupal Meta Tags (nodewords) Module for SEO
- Free Google Keyword Research Tool
- HTML Validation: Free HTML Validator Tools
- Fix Duplicate Content with Global Redirect Module