Pootle makes it easy to setup additional custom content without too much effort.
There are three types of static pages:
Use Admin – Static Pages to create and manage static pages.
The static pages are by default formatted using HTML. But you can use Markdown
or RestructuredText by setting POOTLE_MARKUP_FILTER
correctly.
When linking to a static page externally or in any customisations, your links
would be pointing to /pages/$slug
, such as /pages/gettting-started
.
For linking to another static page from within a static page use the
#/$slug
syntax. Thus, if you created a Getting Started page as a static
page which pointed to your Licence Statement legal page we’d use this
#/licence_statement
in the URL.
When creating an announcement page use a slug projects/$project
so that the
page will be used on the $project
project.
Other slug names may be used:
$lang
- for an announcement page that will appear on every single project
enabled for the $lang
languages.$lang/$project
- for an announcement page that is specific to the
$project
project in the $lang
language.The prefered model though is to use the projects/$project
convention for a
single easy-to-maintian page.
In many cases you have URLs in announcement pages that would be identical except for variations in the language code. Examples would include links to team wiki pages, signoff pages, progress dashboards, live test versions, etc.
Any link within your announcement page that uses a fake language code of
/xx/
will be rewritten with the language code for this translation. Thus
if you insert a link such as http://example.com/signoff/xx/
then that will
be rewritten to http://example.com/signoff/af/
for a user viewing this
announcement page for the Afrikaans language translation.