• I spent a lot of time to translate the Show all button in the Portfolio block. And the trouble was that the additional plugin sydney-toolbox had an untranslatable string Show all, which overwrites all translations made in the Sydney Theme. The problem lies here: ../plugins/sydney-toolbox/inc/elementor/block-portfolio.php string #272

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello there,

    I am sorry for the trouble. The permanent fix should be uploaded soon. At this time, try replacing this line:

    
      <li><a href="#" data-filter="*">Show all</a></li>
    

    with

    
      <li><a href="#" data-filter="*"><?php echo __('Show all', 'sydney_toolbox'); ?></a></li>
    

    Regards,
    Kharis

    Thread Starter mportnov

    (@uldes)

    This decision is not complete, as in ../wp-content/plugins/sydney-toolbox/languages/sydney-toolbox.pot this line is not specified for translation. In General, I do not understand why you have an additional plugin made duplicate functionality that breaks the widget in the main theme.

    To be able to translate this line you need to edit the file sydney-toolbox.pot (I Hope you update it will do). Well, or just remove the duplicate functionality.
    <li><a href="#" data-filter="*">Показать все</a></li>

    • This reply was modified 5 years, 11 months ago by mportnov.
    Thread Starter mportnov

    (@uldes)

    Added

    #: D:\wamp\www\wordpress\wp-content\plugins\sydney-toolbox/inc/elementor/block-portfolio.php:272
    msgid “Show all”
    msgstr “”

    I was able to translate a line, but the problem is that the translation does not work. ??

    Although if you make a direct line change, the translation is displayed correctly.

    Hello there,

    It has been correctly translated to me. See this screenshot taken on my screen https://cloudup.com/cJDUdUBm55j

    Please try with different web browser or flush history/cache of it first. Probably your browser still loads cached version.

    Regards,
    Kharis

    Thread Starter mportnov

    (@uldes)

    Adding code does not produce the desired result.
    <li><a href="#" data-filter="*"><?php echo __('Show all', 'sydney_toolbox'); ?></a></li>
    The translation I’ve done so
    <li><a href="#" data-filter="*">Показать все</a></li>
    The translation cannot work as in the translation file .pot there is no line for such a translation.

    • This reply was modified 5 years, 11 months ago by mportnov.

    Hello there,

    If you use Loco Translate plugin, you need to sync the updated string into translation panel.

    https://localise.biz/wordpress/plugin/faqs/specific-words#step2

    Regards,
    Kharis

    Thread Starter mportnov

    (@uldes)

    Just release the update. Just two files to fix, and you’ll take away the headache of many people.

    Hi there,

    Thanks for letting us know. We’ll update as soon as possible.

    The functionality is somehow duplicated because at first we had regular widgets that were meant for the SiteOrigin page builder and then we converted them to Elementor blocks and placed the in the Sydney Toolbox plugin.

    Vlad

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The problem with the plugin of the theme sydney-toolbox’ is closed to new replies.