• Resolved kleuton

    (@kleuton)


    Hi,
    I can’t do the translation to PT-BR, I have the .mo and .po file, but even with the files inside the folder, the plugin doesn’t change the language, it remains original English.

    I’m also experiencing errors, when I click on the menu: (WP Bannerize Analytics Overview) it gives the following error:

    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 41
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 42
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 59
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 60
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 71
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 71
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 72
    
    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php on line 72
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gfazioli

    (@gfazioli)

    @kleuton hey, thank you for reporting, I’ll check that asap

    Plugin Author gfazioli

    (@gfazioli)

    @kleuton I tried to switch the language in my environment and for me, it worked. Maybe there is some error in your .po or .mo files?
    Did you add your files to the /localization folder?
    Could you send me the files, just for a double check?

    Regarding the warning

    Warning: Trying to access array offset on value of type bool in /var/www/html/site.com/web/wp-content/plugins/wp-bannerize-pro/plugin/MetaBoxes/Summary.php

    Try to “deactive” and “reactive” the plugin again. I was unable to replicate the Warning, it seems that the bannerize table doesn’t exist.

    Let me know if I can help you in any way

    Thread Starter kleuton

    (@kleuton)

    @gfazioli
    Hello gfazioli, how are you? Thank you in advance for the feedback.
    I managed to solve the issue of changing the language, the problem was not in the .po / .mo file, the problem was happening because the file name I wrote wrong: (wp-bannerize-pro-pt_BR.mo) the correct name is : (wp -bannerize-pt_BR.mo), it doesn’t need to have the name -pro in the file.
    I was thinking it was the same name as the plugin folder. My mistake, I’m sorry.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error translation’ is closed to new replies.