Module will be replaced by a «context» manager module allowing you to define language specific page trees (among other possibilities) based upon PW2.2’s own language management.
Download Module ProcessLanguages, Version 0.08, more alpha than beta, from GitHub:
https://github.com/L...rocessLanguages
# 2011-11-19 0.08. Language specific error404 pages implemented.
# 2011-11-10 Test version with basic features (0.07). Added template variable to enable switching between translations.
# 2011-11-10 Test version with basic features (0.05). Uninstall still gets kind of manual.
And that’s how it all started:
Hey, I’m working on an module to implement multiple language support in ProcessWire.
Until now the module provides an admin panel to set up additional languages. Every language is represented in the site’s page hierarchy by an own home page automatically generated as a child of the site’s root. The language’s home page id is associated with the language entry in the admin panel. If the site’s root is called, a hooked function automatically redirects to the home page of the language defined as default.
The module is inspired by the concept of modx module Babel by Jacob Class.
The next steps on my list are:
- Setting up a db table associating the different language versions of a page with each other.
- (If possible: ) Adding an additional tab to the Page Edit top menu (Content, Children, etc.) providing an overview of the other language versions of the edited page…
Question: Is there a possibility to hook into an event allowing me to change the page edit top menu and add a "language" tab to the edit form? Any idea? - … and allowing to create language clones of a page by copying it to other languages’ page structure.
Thanks in advance.














