Support » Theme: Sydney » The problem with the plugin of the theme sydney-toolbox

  • 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

  • Show all
  • 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

    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 7 months, 2 weeks ago by mportnov.

    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.

  • Показать все