Fixes after correcting wordpress language configuration (it_IT instead of it)
This commit is contained in:
parent
5636c7ac09
commit
602f6c8e9c
@ -110,6 +110,7 @@ function openmamba_download_func( $atts ) {
|
||||
$mediaprefix = '/var/ftp/pub/openmamba/media';
|
||||
$mediafallbackprefix = '/var/ftp/pub/openmamba/media/milestone2';
|
||||
$outputlang = get_bloginfo("language");
|
||||
$outputlang = substr($outputlang,0,2);
|
||||
if ("$outputlang" != "it") {
|
||||
$outputlang = "en";
|
||||
$mlword = "multilanguage";
|
||||
@ -205,7 +206,7 @@ function openmamba_distroquery_func() {
|
||||
}
|
||||
|
||||
$outputlang = get_bloginfo("language");
|
||||
if ($outputlang == "it")
|
||||
if (substr($outputlang, 0, 2) == "it")
|
||||
$outputlang = "it_IT.UTF-8";
|
||||
else
|
||||
$outputlang = "en_US.UTF-8";
|
||||
|
Loading…
Reference in New Issue
Block a user