[support] How to retrieve language in use ?

Sven Decabooter sdecabooter at gmail.com
Thu Jun 25 16:15:02 UTC 2009


In Drupal 6, use:

global $language;

2009/6/25 Michel Morelli <michel at ziobuddalabs.it>

> Hi. In one of my costum module's function I need to retrieve the language
> in use in my multilingua drupal site.
> How ?
>
> Tnx.
>
> M.
>
> --
> Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.net
> Consulenza sistemistica in ambito OpenSource.
> Sviluppo applicazioni web dinamiche (LAMP+Ajax)
> Telefono: 0200619074
> Telefono Cell: +39-3939890025 --  Fax: +39-0291390660
>
> http://www.ziobudda.net                         ICQ: 58351764
> http://www.ziobuddalabs.it                      Skype: zio_budda
> http://www.ziodrupal.net                        MSN:
> michel at ziobuddalabs.it
>              JABBER: michel at ziobuddalabs.it
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090625/056dec11/attachment.htm>


More information about the support mailing list