The apostrophe-workflow module provides localization, internationalization, and approval-based workflow for Apostrophe. Because it is so important to larger Apostrophe-powered projects, we'll be announcing new releases of this module regularly as well.
- You can now configure your own mapping of locales to URL prefixes and hostnames. You may use any combination of the two, as long as it is always possible to determine exactly which locale is intended. For instance, if a hostname is not shared by two locales, then that locale does not need a URL prefix, while another hostname might have three locales and thus require prefixes for all three. The
subdomains option is still supported for simple cases, and
prefixes: true is also still supported if you always want a prefix that is identical to the locale name.
- Single sign-on is provided for sites using multiple hostnames for different locales. As long as you use the provided locale switcher button to change locales, your login session will be carried through to the other locale.
- A bug was fixed which could cause the generation of superfluous copies of parked pages at startup in certain circumstances involving prefixes. These can be removed via the command line task
node app apostrophe-workflow:remove-numbered-parked-pages. This is a one-time correction.
Thanks to Michelin for their support of this work.