Skip to content

Pages translation

theo lem requested to merge pages_translation into master

Problem description

The pages were previously created based on single templates places under framaforms/includes/html/. The templates were only in French, and since the HTML files are not translatable using Weblate, no translation was given.

Proposed resolution

Introducing a translation system for default Framaforms pages :

  • all templates can now exist in several forms under framaforms/includes/html/[language code]/ (ie : Spanish templates will live under framaforms/includes/html/es).
  • on default pages creation, the templates corresponding to the site's default language will be used (fallback to English by default). The site's language must therefore be set before the creation of default pages, which is yet to be documented.

TODO

  • fixes in .install necessary
  • translate expiration page
Edited by theo lem

Merge request reports