Language switch error in archive index
-
Hello; I’ve bumped into a little problem when using the language swith widget in an archive index (for example: ‘mysite/2014/06‘) when the option ‘Hide URL language information for default language‘ is set.
In such cases, if the language is currently set to a “secondary” language (say the URL is ‘mysite/fr/2014/06‘), the switcher correctly points to the equivalent in the default language (‘mysite/2014/06‘). But in the opposite case (starting from ‘mysite/2014/06‘), the switcher points to the front page (‘mysite/fr‘) instead.
This happens in both ‘set from content’ and ‘set from the directory name in pretty permalinks’ options. Any way around it? Obviously, the problem is solved if I don’t check the default language removal option, but I would like to keep URLs for my default language cleaner.
- The topic ‘Language switch error in archive index’ is closed to new replies.