Skip to main content
3 of 3
grammar
kanlukasz
  • 534
  • 8
  • 24

Ok, a simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

kanlukasz
  • 534
  • 8
  • 24