Skip to content

collective/lineage.multilingual

Repository files navigation

lineage.multilingual

Multilingual configuration for lineage child sites

Features

With this package, if you set a custom set of languages in a Lineage ChildSite, the LRFs that correspond to the selected languages will be created inside the ChildSite.

This is useful when you want to have a different set of languages in the root of the site and in the child site.

It also helps to have the language URLs inside the childsite.

And how we do it?

We just override the subscriber that plone.app.multilingual has to create the LRFs in the root of the site, and call it with the context where the language settings are being applied.

If using this with collective.lineage you may want to install also lineage.registry for having a local registry in child sites, and lineage.controlpanels to be able to set local values for the registry in the childsite.

Until a new release of plone.app.multilingual is ready, this package needs this branch of plone.app.multilingual.

Installation

Install lineage.multilingual with pip:

pip install lineage.multilingual

And to create the Plone site:

make create-site

Contribute

Prerequisites ✅

Installation 🔧

  1. Clone this repository, then change your working directory.

    git clone git@github.com:collective/lineage.multilingual.git
    cd lineage.multilingual
  2. Install this code base.

    make install

Add features using plonecli or bobtemplates.plone

This package provides markers as strings (<!-- extra stuff goes here -->) that are compatible with plonecli and bobtemplates.plone. These markers act as hooks to add all kinds of subtemplates, including behaviors, control panels, upgrade steps, or other subtemplates from plonecli.

To run plonecli with configuration to target this package, run the following command.

make add <template_name>

For example, you can add a content type to your package with the following command.

make add content_type

You can add a behavior with the following command.

make add behavior
You can check the list of available subtemplates in the [`bobtemplates.plone` `README.md` file](https://github.com/plone/bobtemplates.plone/?tab=readme-ov-file#provided-subtemplates).
See also the documentation of [Mockup and Patternslib](https://6.docs.plone.org/classic-ui/mockup.html) for how to build the UI toolkit for Classic UI.

License

The project is licensed under GPLv2.

Credits and acknowledgements 🙏

Generated using Cookieplone (2.0.0a3) and cookieplone-templates (6678734) on 2026-06-11 10:38:21.066582. A special thanks to all contributors and supporters!

About

No description, website, or topics provided.

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-2.0
LICENSE.GPL

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors