Manual:$wgDefaultLanguageVariant
Language, regional and character encoding settings: $wgDefaultLanguageVariant | |
---|---|
Default language variant. |
|
Introducido en la versión: | 1.9.0 (r18754) |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (string) or false |
Valor predeterminado: | false |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
Default variant code, if false, the default will be the language code. Only works when it is defined as a variant in the LanguageConverter class of that language.
Uso
In LocalSettings.php
, one may set:
$wgLanguageCode = "sr";
$wgDefaultLanguageVariant = "sr-el";
This will use Serbian system messages in Latin-script, but report for javascript the simple contentlanguage="sr".