Option to turn off the language part in contao url for a certain main language #8063
Comments
You can do that by manually adding the language to the page alias.
|
Duplicate of #5619 ;) Isn't there an extension already that provides this functionality? Can't find it right now. |
👍
adding? I think he would like to remove one /lng/ not to add something. Is this realy possible by adding something to the alias? I think what he wants is: If you have a commercial TLD I think its nice without such a feature Maybe a checkbox in page website root hide language from URL. But this must only be possible within one website root, independent of fallback language setting.
|
Yes Aybee is right! I would like to remove the "de". It would be nice to say:
In case 1.) I would like to turn off the "de" but currently not an implemented feature ;-(. I am not really sure if my wish is a duplicate of #5619 ? Cause the fallback language can be different from blabla.de/de ... de is the Mainlanguage for the Domain ... The Fallbacklanguage is the language which is used when users language configuration does not match any website lang. And in this case I would deliver the english language blabla.de/en . I just want an option to say that the clean url (=without lang part) leads to a specific language ... defined by admin :-). Correct me if I am wrong and it is already possible and I am just to blind. |
Yes, #5619 only mentions the possibility for the "main" language, however when implemented at all, it would probably get implemented as a general option of the website root page, not a general option in the settings, that only applies to the fallback language (otherwise this option might not be useful in certain multi-domain setups). |
That's why I told above it has to be an option in website root and has to be independent from fallback language. Also if you set the hide language parameter in one root, it must be blocked in other roots as it only should be allowed to set this for one language. |
Any updates on this? :) |
See contao/core-bundle#1051 . |
Current situation there is no option to turn off the language shortcode:
domain.tld/de/start.html (for this example the main language: de)
domain.tld/en/start.html
Nice to have would be an option to turn off the language shortcode for a certain main language:
domain.tld/start.html (for this example the main language: de)
domain.tld/en/start.html
The text was updated successfully, but these errors were encountered: