nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

Translation for PT_BR did not work #39

Closed DataAmerica closed 7 years ago

DataAmerica commented 7 years ago

I sent the translation files but it did not work.

System Status

Debug mode Off Multisite? Yes Site Language pt_BR Server Apache/2 PHP Memory Limit 512 MB PHP version 5.6.30 MySQL version 5.1.65

NanoSupport: v0.3.4

WordPress: v4.7.4

Active Theme: TheFox Child Theme – 1.50

Active Plugins: Contact Form 7 (4.7) by Takayuki Miyoshi WPBakery Visual Composer (5.0.1) by Michael M - WPBakery.com Loco Translate (2.0.13) by Tim Whitlock NanoSupport (0.3.4) by nanodesigns Slider Revolution (5.3.1.5) by ThemePunch Smartsupp Live Chat (3.1) by Smartsupp TheFox Custom Post (3.0.0) by Tranmautritam's Team WooCommerce PagSeguro (2.12.4) by Claudio Sanches WooCommerce (3.0.4)

image

image

image

mayeenulislam commented 7 years ago

As of the code: https://github.com/nanodesigns/nanosupport/blob/v0.3.4/nanosupport.php#L59-L67

The language files should go under any of the following places:

BTW, with WP automatic translation update it places nanosupport files under the following path:

Please note, as of today, the WP glotpress pt_BR is not 100% translated. pt_br-20170425 If you translated in your end, that's okay.

I did some tests in my local environment with pt_BR translation from the polyglot:

Test 1: Path: wp-content/languages/nanosupport/

:white_check_mark: passed

Test 2: Path: plugins/nanosupport/i18n/languages/

:white_check_mark: passed

Test 3: Path: wp-content/languages/plugins/

:white_check_mark: passed

In all the cases I got the following result: support-desk-pt_br

nanosupport-pt_br

What about placing under any of these places?