Can you try using the language files in the <plugin-folder>/languages directory for translation? Pls let me know if that does not work and I will take a closer look. Thanks.
Yes other plugins are usually translated and without the need to add the code to the file functions.
Ex: contact-form-7, revslider, siteorigin-panels, titan-framework …
I have also tried adding
define ( 'WPLANG', 'en_US');
the wp-config, but without work.
Can you change this line in your code –
load_plugin_textdomain( 'livemesh-siteorigin-widgets', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
to
load_plugin_textdomain( 'livemesh-so-widgets', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
and see if that works?
You can also have a look at the function load_plugin_textdomain() in livemesh-so-widgets.php file.
The editing of the file functions is no longer necessary.
It took only name the file correctly.
I realized this after looking at the load_plugin_textdomain () function in LiveMesh-so-widgets.php file.
livemesh-so-widgets-pt_BR.mo
Thank you for your help.
It worked.
Glad you were able to resolve this. Thanks for letting us know.