Forum Replies Created

Viewing 15 replies - 16 through 30 (of 98 total)
  • Thread Starter Jimmy

    (@jayem82)

    Brilliant, thank you guys!

    Thread Starter Jimmy

    (@jayem82)

    Yeah you could also give login details, and have a setting in maintenance mode that allows certain user classes to bypass it +1

    But the ip bypass also lets developers test certain functions for a “guest user”. Let’s says your building an ecommerce site and want to test placing an order from a completely new customer that has no account yet ??

    Thanks for the quick reply!

    Jimmy

    (@jayem82)

    Is it necessary to have “Maintenance Mode: Disabled” in the admin bar at all?

    Shouldn’t we only be notified if Maintenance Mode is Active?

    WooCommerce global directory should be in wp-content/languages/woocommerce

    If your using the “languages/plugins” folder, the translation files will be overwritten upon updating the plugin…

    Congratulations Tim, the old Codestyling Localization plugin is no longer available in the WordPress Plugin Directory. Loco Translate will probably become the no 1 translation tool for wordpress now ??

    You should contact WooThemes and have better support for multiple .po files like wc uses.
    As you can see here:
    https://docs.woothemes.com/document/woocommerce-localization/

    They still recommend codestyling, even if it’s not available anymore ??
    I wish they would recommend Loco instead.

    Try this:

    .widget_layered_nav span {
      display: none;
    }
    
    .widget_layered_nav a + span {
      display: inline;
    }
    Thread Starter Jimmy

    (@jayem82)

    Lovely!
    If you could make the same Wiki for plugins, we could just refer the link to developers and encourage them to behave accordingly ??

    By the way, don’t know if I’ve mentioned this before but, I would love to see an option next to the Sync button called “Sync without pot file” or something like that. Not only do developers forget Text Domain and Domain path, they also tend to forget updating their .pot files ??

    Thread Starter Jimmy

    (@jayem82)

    What happens if you delete all the .pot files?

    By the way, WooCommerce uses a new ‘safe upgrade folder’ nowadays:

    \wp-content\languages\woocommerce\

    Could Loco Translate support this?

    WooCommerce also has two files but Loco Translate only support one right?

    woocommerce-admin.pot
    woocommerce.pot

    Thread Starter Jimmy

    (@jayem82)

    That’s my issue, I want to make this as a plugin rather than have it depend on template files.

    • I’m trying to create a function that automatically adds a class to the product post when my option is checked.
    • I also want to create a function that only adds the ‘text’ if my option is checked.

    But I’m pretty novice at php so I was looking for help ??

    Thread Starter Jimmy

    (@jayem82)

    No probs ??

    I’m guessing it has to do with the dash (-) and loco translate redirects to wrong file.

    WooCommerce redirects to:
    /wp-admin/admin.php?name=woocommerce%2Fwoocommerce.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate

    WooCommerce Custom Product Tabs Lite redirects to:
    /wp-admin/admin.php?name=woocommerce-custom-product-tabs-lite%2Fwoocommerce-custom-product-tabs-lite.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-custom-product-tabs-lite-sv_SE.po&page=loco-translate

    WooCommerce New Product Badge redirects to:
    /wp-admin/admin.php?name=woocommerce-new-product-badge%2Fnew-badge.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate

    As you can see, both WooCommerce extensions (plugins) works fine, but WooCommerce is faulty.

    Thread Starter Jimmy

    (@jayem82)

    It is not same package. It’s different packages Tim, each with their own text domain.

    ‘woocommerce’
    ‘woocommerce-new-badge’
    ‘woocommerce-custom-product-tabs-lite’

    Thread Starter Jimmy

    (@jayem82)

    That fix solved it, but I had to Sync the .pot file inside the plugin folder first. Before Sync still no locale shown from global folder.

    Perhaps we should encourage plugin authors to use this comment tag.

    Forum: Plugins
    In reply to: [Loco Translate] Ideas
    Thread Starter Jimmy

    (@jayem82)

    I’ve emailed the Swedish translation ??

    The child theme, I think there was a problem to inherit the parent theme locale and syncing both theme strings, but I don’t remember.

    5. What I meant by batch delete, was the packages. For instance, I only need to show all the sv_SE (Swedish) packages, not anything else. If you have 20 plugins or more, and every plugin has 10 language packages, there will be a pretty long list… So if you could have an option to only show you preferred language it would be great! Just an idea.

    Here are some more ideas:

    6. Markup trailing spaces. It’s not easy to see trailing spaces otherwise.

    7. Add Button to copy source text to translation. To speed up the translating process.

    8. Add Button to filter Non-translated strings. To speed up the translating process.

    I would really love it if you could choose both the invoice and packing slip to be included in the ‘Admin New Order email’. As macintellect mentioned, you could then print both and ease the packing process without logging in to admin.

    I’m also curious Ewout, why do you not want to do this?

    Thanks for a great plugin Ewout!

    Thread Starter Jimmy

    (@jayem82)

    He can add classes to his plugin page and fix the css. In the meantime you can still keep backend.css and add this code to your theme functions.php:

    add_action( 'admin_init', 'my_remove_admin_styles', 30 );
    function my_remove_admin_styles() {
        wp_dequeue_style( 'opening-hours-backend' ); // Opening Hours
    }

    If you want to remove the frontend css you can use this:

    add_action( 'wp_enqueue_scripts', 'my_remove_front_styles', 30 );
    function my_remove_front_styles() {
        wp_dequeue_style( 'opening-hours-frontend' ); // Opening Hours
    }

    Maybe there is a better code to use, but this works for me.

    Thread Starter Jimmy

    (@jayem82)

    I understand. But if you used tabbed pages as well, it would go both ways.
    Example: Image

    I’m using a menu editor today, and then I could move only the topmenu of Opening Hours to a different place, as a submenu. And still access all the different Opening Hours pages ??

Viewing 15 replies - 16 through 30 (of 98 total)