Hi to all,

I'm using D7.32 and Language switcher block (User interface text language detection) provided by Drupal core.
I'd like to adopt the 'Session' method as 'Detection and Selection' in order to use a language session variable recognition strategy.
It works quite well when, after choosing a language, all the 'drupal-generated' links automatically have the suffix " ?lang=xx " hardcoded on them (according to the chosen language).

For example, main tab links, taxonomy links or recent content links are automatically generated as:
http://<server>/node/781?lang=xx

The problem is when working with home-made links, for example some text linked to an internal or external address, for which the structure still is (missing the suffix):

http://<server>/node/2

Any help or suggestion?
Thank you very much.
--Carlo

Comments

David_Rothstein’s picture

Project: » Drupal core
Version: » 7.x-dev
Component: Code » locale.module
Priority: Major » Normal