Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 2 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

cbs_section_language

Description

This plugin allows you to globally override the default language of your Textpattern installation for some specific sections. You can use any installed language for any section, but you can only use one language per section.

Prerequisite

Please check first in the language administration panel that all the languages you want to use are installed.

Settings

The plugin settings are located in the “Publish” section of the advanced settings panel.

  • cbs_section_language_sections: Comma-separated list of the names of the sections where you want to override the default language. For the homepage, specify “default” as section name. Whitespaces are allowed before and after commas.
  • cbs_section_language_languages: Comma-separated list of language codes, matching each section of the cbs_section_language_sections setting above. A language code consists of a two-letter language acronym, followed by a hyphen, followed by a two-letter country acronym, for example: “en-us” or “fr-fr”. Whitespaces are allowed before and after commas.

Changes history

v0.2 (2008-11-15)

  • First public release.

v0.1 (2006)

  • Private release.
Article Request Count:
Initially released:
2008-11-15
Posted here:
15 Nov 2008
Article modified:
20 Apr 2015

Comments/questions? Leave a message in the form.

Commenting is closed for this article.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern