Skip to content

Fix apache config

Technically this doesn't change anything on the site other than the documentation about apache configs. Both in the _docs/ and also in the output of the ./tools/prepare-multi-lang.sh script. The suggested config now:

  • Includes all of the languages supported by Weblate at time of writing
  • Is easy to add a new language too if problems arise in the future
  • Gracefully redirects users requests to not-yet-implemented translations back to the English version
  • Doesn't try to treat /js/ or /css/ as a language code
  • Still works without JS enabled (had to change .htaccess to loosen the presumption of what a language code looks like)

Here is a test site running Apache2 with the new config.

Fixes #80 (closed), #81 (closed).

Edited by username-removed-25042

Merge request reports