Jump to content

Strange thing happening with translator


Recommended Posts

<footer>
	<div class='row'>
		<div class='copy'>
			<p><img class='footer-logo' src='/img/footer-logo.png' alt='<?php echo __('Domain Slogan') ?>' width='173' height='37' /></p><?php echo __('2003 - 2015 domain.com All Rights Reserved.') ?>
		</div>
		<nav class='footer-nav'>
			<ul>
				<?php echo $nav ?>
			</ul>
		</nav>
		<div class='author'><?php echo __('2003 - 2015 domain.com All Rights Reserved.') ?>
		</div>
	</div>
</footer>

If I go to the translate thing in pw setup languages and load the file above

the following works everytime:

<?php echo __('Domain Slogan') ?>

But the second one does not work, yet it is the exact same as the third one, only placed differently.

This one does not work:

<?php echo __('2003 - 2015 domain.com All Rights Reserved.') ?>

This one works:

<div class='author'><?php echo __('2003 - 2015 domain.com All Rights Reserved.') ?>
		</div>

Anybody know what I am doing wrong here?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...