Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Language code url segment only for non-default languages

Status Resolved
Add-on / Version Publisher
Severity Trivial
EE Version

Dennis Frank

Jun 26, 2013

Is it possible to prefix the URL with the language code only with non-default languages?

English: example.com
German: example.com/de

English: example.com/contact
German: example.com/de/contact

or with URL translations

German: example.com/de/kontakt

#1

Brian Litzinger

Not right now. I’d have to take a look at this to see how hard it would be to do. The difficulty would come from the translated url logic. May be easy, may be hard… won’t know until I look into it, but I will get around to it.

#2

Dennis Frank

Alright. I look forward to it 😉

#3

DevDemon.com

This is how salesforce does it.

English: http://www.salesforce.com/sales-cloud/overview/

Spanish: http://www.salesforce.com/es/sales-cloud/overview/

This should actually be the preferred way 😊

#4

BoldMinded (Brian)

There is a hidden config variable $config[‘publisher_hide_prefix_on_default_language’] = ‘yes’ will accomplish this.

Login to reply