Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Multilingual Sites with Kotti.

Kotti’s data model includes a language attribute on the Content class, from which all content types inherit. However, this attribute is neither exposed by Kotti’s UI, nor used in any other way. kotti_multilingual provides a generic approach to build multilingual sites.

Work in Progress

kotti_multilingual is still in an early stage of development. It is neither feature complete nor can be considered API stable. Things will change!

Features

The package contains a single content type LanguageSection which is supposed to be the container of all content in a specific language. All content that is created in (or moved into) such a subtree will be automatically tagged with the language of the section. This is done by subscribing to Kotti’s ObjectInsert and ObjectUpdate events.

You can place LanguageSection instances wherever you want in your content tree, but it is considered best practice to have a tree structure like this:

- /            Document            language neutral
   - /en       LanguageSection     English
   - /de       LanguageSection     German
   - /nl       LanguageSection     Dutch
   - /images   Document            language neutral

Setup

To activate the kotti_multilingual add-on in your Kotti site, you need to add an entry to the kotti.configurators setting in your Paste Deploy config. If you don’t have a kotti.configurators option, add one. The added entry should look like this:

kotti.configurators = kotti_multilingual.kotti_configure

Changelog

0.1a2 - 2013-05-07

  • Removed a lot of code that’s now replaced by Kotti’s INavigationRoot / TemplateAPI.navigation_root. This greatly simplifies the setup of kotti_multilingua.

  • Depend on Kotti>=0.9a3dev (needed for the above).

0.1a1 - 2013-05-06

  • Initial release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kotti_multilingual-0.1a2.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file kotti_multilingual-0.1a2.tar.gz.

File metadata

File hashes

Hashes for kotti_multilingual-0.1a2.tar.gz
Algorithm Hash digest
SHA256 c8f4a0380b4ad326ca848baac5728659ef230e9b082d56450759fea2d1314dd3
MD5 16a4573176f71097ff62e6020e9e861d
BLAKE2b-256 b657a8b4431bf87443f8d580ffd03f0fa5071208a86a11127a29a5a09e74a899

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page