wagtail / wagtailtrans

A Wagtail add-on for supporting multilingual sites
http://wagtailtrans.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
104 stars 60 forks source link

Add settings to control language prefix #197

Open mateusz-kleinert opened 3 years ago

mateusz-kleinert commented 3 years ago

Hello, there is a space for improvements with how wagtailtrans handles language prefixes in path. The improvements I'd like to introduce are described as well in #169 and #184.

With this change I'd like to introduce settings that allow to control the language prefix visible in the URL bar. Here are my objectives:

In my opinion these changes are related to each other and that's why I'm proposing a single change instead of splitting it into two.

I'd be grateful for your opinion in this matter and some help with improving the code.