aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installing
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-01-14 13:30:48 +0000
committerGareth Rees <gareth@mysociety.org>2015-04-07 16:23:11 +0100
commita90aa29c63280edb95a468a748f0ba13db3534b7 (patch)
tree6782d759aef54b9b8205979522070e693c7dfc03 /docs/installing
parent944b90c0f579bff6d80f361b6d8c33e89397f0c5 (diff)
Add a script to import translation files
Usage: $ script/import-translated-page \ --lang=es \ path/to/es/page.md > es/page.md - Prefixes layouts with the lang (e.g. layout: es/page) unless the lang is “en” - Replaces {{ site.baseurl }} with {{ page.baseurl }} for internal page links - Keeps {{ site.baseurl }} for asset links - Removes single line redirects from non EN pages - Warns if the page front matter contains a list of redirects as the script can’t currently replace them
Diffstat (limited to 'docs/installing')
0 files changed, 0 insertions, 0 deletions