First off, let me say that this is a great module! I've been looking for something like this for a while.

Now to my support request. As a relatively new user to Drupal (I've played with it in the past but never developed it and have been away from it since the release of 4.6), I may be overlooking a simple step. Instead of using the block for changing the language, which works extremely well I might add, I would like to have a primary link to perform the same functionality. What would my link path be for the primary links menu? I am not using the domain implementation and do not have clean urls turned on as I am working in IIS and have not installed a rewrite module yet. Am I stuck at just requesting the front page in my language of choice?

-Chris

Comments

sun’s picture

Title: How to set primary link to work like the block link » Custom language switching links
Component: Miscellaneous » User interface
Assigned: Unassigned » sun
Status: Active » Fixed

Just use this url:

switchuilocale/en

You might want to output a link in your theme this way:

l('Switch to English', 'switchuilocale/en?destination='. $_GET['q']);
Anonymous’s picture

Status: Fixed » Closed (fixed)