Hi, I don't know if is the right module, but I'd like to have a "default language redirect" for sites that have 2 or more languages and needs that (take an example where default language is setted to IT-Italian):

- default language is served in path like www.example.com/my/content (done by setting default language prefix to empty)
- other languages are served to www.example.com/PREFIX/my/content
AND
if user asks for www.example.com/IT/my/content, they will be redirected to www.example.com/my/content (maybe using a 301 HTTP code)

Let me know if this is the right place to ask (or eventually post a patch) for this feature.
Regards!

Comments

thepanz’s picture

Status: Active » Needs review
StatusFileSize
new6.67 KB

I've implemented this feature. It needs reviews to assure that it's working in all scenarios.
I also edited my prev patch (Language-Neutral feature) to use Drupal naming for forms and functions (this may require to disable/enable module to refresh Drupal menu system for this module).

This patch was taken from a comment and code here: http://drupal.org/node/208712#comment-954466

Regards

Alice Heaton’s picture

Status: Needs review » Closed (won't fix)

Hi :)

I don't think this fits with the purpose of this module. As I said previously, I know we did add some "extra" functionality to the module in the past, but I'd rather not expand it in all directions. Sorry it took me so long to reply to your suggestion :(