jDiction Forum
English => General Questions => Topic started by: dlxro on October 14, 2015, 01:29:23 pm
-
I installed this plugin to translate my site from english (default language) to spanish, but when I press the spanish flag I don't see anything translated.
Here is my output:
est Result
Version
Library Version: 1.4.2
Joomla Version 3.4.4 is untested.
Plugin
Joomla Languagefilter Plugin is enabled
There are 1 plugins having the same loading postion as the Joomla Languagefilter Plugin.
JDiction Plugin is enabled.
Database
jDiction Database Driver is selected
Language
Seam to be good
Module
Module is enabled
Common mistakes
It seems that there are no common mistakes.
By the way on parseRules of jdiction system plugin line 128:
foreach($menu as &$item) {
$item->route = '';
if ($item->level > 1) {
$item->route = $menu[$item->parent_id]->route.'/';
}
$item->route .= $item->alias;
}
there's no error handling for unpublished menu items.
-
Did you entered any translation in the Backend?
-
What you mean by any translation with jdiction?
I did translate with jdiction as seen here: http://imgur.com/a/Caaqy
-
hmm, strange because I have one site at the moment running joomla 3.4.4 and jdiction and that works normal...
do you have other plugins, extensions installed?
maybe something prevents jdiction from translating...
-
Falang, but I disabled all the plugins because I had the same problem. I was reading about a problem of menu being loaded before plugins can translate, can this be something related to template design or something?
The extensions I have are: K2, Allvideos, Gallery Pro, Falang (Unpublished and disabled because it didn't work either) and Acymailing.
As for modules: DC Joomla HTML Module , JSFlexslider.
-
its possible that a menu or template plugin cause this problem.
-
I'm going to check my template and disable all plugins if necessary and I hope I find an answer.
-
I disabled and uninstalled falang and neno translate, only jdiction enabled and I see not translation:
I'll post my template home website code:
<?php
defined( '_JEXEC' ) or die;
?>
<!DOCTYPE html>
<html lang="ES-es">
<head>
<jdoc:include type="head" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="viewport" content="width=device-width, height=device-height, maximum-scale=1, initial-scale=1.0, user-scalable=yes"/>
<link rel="shortcut icon" href="<?php echo $this->baseurl; ?>/images/favicon.ico" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/system.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/general.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/layout.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
<!--
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body>
<?php if($this->countModules('idioma')) : ?>
<div id="idioma">
<jdoc:include type="modules" name="idioma" style="xhtml" />
</div>
<?php endif; ?>
<div id="decoracion"><img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/5.png"/></div>
<?php if($this->countModules('fondo')) : ?>
<div id="fondo">
<jdoc:include type="modules" name="fondo" style="xhtml" />
</div>
<?php endif; ?>
<header>
<div id="fondologoresp"><img src="images/fondologo.png"/></div>
<?php if($this->countModules('logo')) : ?>
<div id="logo">
<a href="index.php" title="Riomar Villages">
<jdoc:include type="modules" name="logo" style="xhtml" /></a>
</div>
<?php endif; ?>
<?php if($this->countModules('menu')) : ?>
<nav>
<div id="menu">
<jdoc:include type="modules" name="menu" style="xhtml" />
</div>
</nav>
<?php endif; ?>
<?php if($this->countModules('menumobile')) : ?>
<nav>
<div id="menumobile">
<div class="menu-trigger">
<span>Menu</span>
</div><!--fin menu-trigger -->
<div id="slide-menu">
<jdoc:include type="modules" name="menumobile" style="xhtml" />
</div><!--fin slide menu -->
</div><!--fn menu mobile -->
</nav>
<?php endif; ?>
</header>
<?php if($this->countModules('slogan')) : ?>
<div id="slogan"><jdoc:include type="modules" name="slogan" style="xhtml" /><span>YOUR ESCAPE TO PARADISE, Lujoso proyecto de playa de solo 42 unidades</span></div>
<?php endif; ?>
<?php if($this->countModules('fondoresponsivo')) : ?>
<div id="fondoresponsivo">
<jdoc:include type="modules" name="fondoresponsivo" style="xhtml" />
</div>
<?php endif; ?>
<!--parte de la informacion del main left y right -->
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="left">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('right') or $this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="main">
<article>
<?php else: ?>
<div id="main_full">
<article>
<?php endif; ?>
<div class="nopad" >
<jdoc:include type="message" />
<jdoc:include type="component" />
<div class="clr"></div>
</div>
</article>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="right">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
<div class="clr"></div>
<!--fin main left y right -->
<footer>
<div id="footer">
<div id="redes">
<ul>
<li><a href="https://www.facebook.com/riomarvillages" target="_blank"><img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/ico-facebook.png"/></a></li>
<li><a href="https://twitter.com/@riomarvillages" target="_blank"><img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/ico-twitter.png"/></a></li>
<li><a href="http://instagram.com/riomarvillages" target="_blank"><img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/ico-instagram.png"/></a></li>
</ul>
</div>
<div id="firma">
<jdoc:include type="modules" name="firma" style="xhtml" />
</div>
</div>
</footer>
<script>
/*
Slidemenu
*/
(function() {
var $body = document.body
, $menu_trigger = $body.getElementsByClassName('menu-trigger')[0];
if ( typeof $menu_trigger !== 'undefined' ) {
$menu_trigger.addEventListener('click', function() {
$body.className = ( $body.className == 'menu-active' )? '' : 'menu-active';
});
}
}).call(this);
</script>
</body>
</html>
Do you see anything weird?
-
A Screenshot of all system plugins would be useful.
-
Here is the screen:
-
OK plese me a login and URL per pm (superuser)
-
When I was making a user on my host, I tested and it's translating, but my localhost (machine) isn't, so I'm going to copy my pre-production environment to my test machine and check if it was a db and plugin corruption.
I'll keep in contact.