-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output correct apache2 config to deal with language codes.
Weblate languages codes are different from those expected by HTTP in the Accept-Language header. HTTP requires languages to use a hyphen to separate languages from regions/scripts, whereas Weblate uses underscores. In addition, part of the Apache2 source code intentionally lower cases these language codes, while other parts don't. As such this change ensures that `prefer-language` is always lowercase. Fixes #81.
- Loading branch information
Showing
2 changed files
with
83 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters