• For aco-woo-dynamic-pricing.mo file backend.css does not load. Product List page (page=awdp_admin_product_lists#/) and Settings (page=awdp_ui_settings#/) has its css broken.
    Translation works only for aco-woo-dynamic-pricing.json file without aco-woo-dynamic-pricing.mo that represents more than 90%. And this is good.
    And in class-awdp-backend.php file there is an error near line 266, wrong path: $plugin_rel_path = (dirname($this->file)) . ‘/../../languages’; /* Relative to WP_PLUGIN_DIR */. This error prevents the translation from working. I’ve changed it to: $plugin_rel_path = plugin_dir_path(__FILE__) . ‘../languages/’; and works fine. Again, only for aco-woo-dynamic-pricing.json.

    • This topic was modified 5 years, 4 months ago by gilmarca.
    • This topic was modified 5 years, 4 months ago by gilmarca.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ijas

    (@ijasacodez)

    Sorry for the inconvenience, can you please place a ticket (with the url) on our acowebs site and share the ticket number so that we can have detailed look on the issue and get this fixed asap.

    Plugin Support ijas

    (@ijasacodez)

    Also please make sure that the permalink is not set to ‘Plain’.

    Thread Starter gilmarca

    (@gilmarca)

    Hi, there’s no url to send. Your plugin works fine except for this situation is on tab Settings and Product List. The CSS on these tabs, Settings and Product List, does not load and change settings becomes difficult. That happens only for .php files translation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Translation file for php files (.mo) breaks css’ is closed to new replies.