Commit 6e7a730d authored by Michal Čihař's avatar Michal Čihař

Support language modifiers by @...

parent 41ea3df3
......@@ -31,7 +31,7 @@ from weblate.sitemaps import sitemaps
import accounts.urls
# URL regexp for language code
LANGUAGE = r'(?P<lang>[^/-]{2,3}([_-][A-Za-z]{2})?)'
LANGUAGE = r'(?P<lang>[^/-]{2,3}([_-][A-Za-z]{2})?(@[a-z]+)?)'
# URL regexp for project
PROJECT = r'(?P<project>[^/]+)/'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment