fbpx
  Friday, 01 November 2019
  1 Replies
  4K Visits
  Subscribe
How can I translate these words on Sellacious product filter? I couldn't do in the backend.
5 years ago
·
#3902
Hello Jeferson,

Both of the above translations are hardcoded and can be translated either in code directly or by assigning the language key.

To Translate 'GO', go to the following file ../modules/mod_sellacious_filters/tmpl/filter_price.php

and in line no. 34, you can translate the Go to your language directly.

Or

Replace line no. 34 with below patch.

<button class="btn-filter-price btn btn-default btn-block" onclick="this.form.submit();"><?php echo JText::_('MOD_SELLACIOUS_FILTERS_SHOP_BY_PRICE_GO'); ?></button>


Now, go to ../modules/mod_sellacious_filters/language/en-GB/en-GB.mod_sellacious_filters.ini and add the MOD_SELLACIOUS_FILTERS_SHOP_BY_PRICE_GO="GO" anywhere.
---

As for the 'Show All' for the category, go to the file ../modules/mod_sellacious_filters/tmpl/filter_category.php and in line no. 46, translate the 'Show All'.

Or

Replace line No. 46 with the below patch.

<div class="show-all"><a href="/<?php echo $link; ?>"><?php echo JText::_('MOD_SELLACIOUS_FILTERS_SHOW_ALL'); ?></a></div>


---

If you're applying the patch instead of translating directly, make sure to translate both language keys from the sellacious backend.

https://www.sellacious.com/documentation-v2#/learn/languages/managing-translations

I hope this helps.

Thank You
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
  • +1 (408) 821-8283
  • Email hello@sellacious.com