Submitted : _LANGUE_PAR_DEFAUT

**SPIP**

# Article submitted

The article "**\_LANGUE\_PAR_DEFAUT**
(https://www.spip.net/ecrire/?exec=article&id_article=6585)" is submitted
for publication. on Monday 8 June 2020.

* * *

## \_LANGUE\_PAR_DEFAUT

Monday 8 June 2020 , by [jack](.././?page=auteur&id_auteur=593&)

The constant **`_LANGUE_PAR_DEFAUT`** sets the default language. The
default value is French (code `"fr"`). For some non-French-speaking sites,
it may be interesting to set another value.
It is possible to customize this value in your file
`config/mes_options.php` (See the article dedicated to it
(https://www.spip.net/ecrire/?exec=article&id_article=4909)).

**Example :**

    // the default language is Dutch

    define
    
     (http://www.php.net/define)
    
    (

    '_LANGUE_PAR_DEFAUT'

    ,

    'nl'

    )

    ;

**P.S.**
This constant is available from SPIP 3.0.23 and SPIP 3.1.2.

— Sent by SPIP (https://www.spip.net/)

rubon199.jpg