Localising theme

werbmaster's picture
werbmaster
Mon, 11/23/2015 - 08:44
#1
Localising theme

We are trying to open Finnish site with md-van theme. It works mostly ok, but front page filter menu and front page selected article terms do not allow translation. Also actual portfolio article node shows english terms even though they have been translated. Can you tell how we can get translated terms visible everywhere? If you give paches, I can apply them although I am not a coder, just advanced drupal user. We have installed all necessary translation modules i think.

phuonght's picture
phuonght
Tue, 11/24/2015 - 05:52

Hi,

We will check and reply ASAP :) Thanks in advance for your patience.

werbmaster's picture
werbmaster
Tue, 11/24/2015 - 09:12

Another one is problem in node--portfolio.tpl.php

Could you add checking that there is content in here:

<?php if(isset($content['field_website_link'])): ?>
     <a href="<?php print render($content['field_website_link'][0]['#markup']); ?>" class="btn btn-default">VISIT SITE</a>
<?php endif; ?>

So I added this if.

phuonght's picture
phuonght
Wed, 11/25/2015 - 23:17

For translating:

Please at a look at following link:

http://drupal.stackexchange.com/questions/37673/translating-views-conten...

And about problem in node--portfolio.tpl.php:

If you would like to stranlate, please replace

"VISIT SITE"

with

<?php print t('VISIT SITE'); ?>
Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.