Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Reviews
    In reply to: [Gmail SMTP] Works, but …

    Yes, Google can do whatever they want. But your plugin supports the Gmail API specifically and while configuring your plugin for Gmail, you present me with a form that has a “From Email Address”, with the explanation that it will be used as the “From” Email address. So forgive me for assuming that that field will actually be used as the “From” Email Address.
    Don’t hide behind “it’s Google’s fault”. You adapt your plugin to however Google designs their API. And if Google will always overrule the From Address with the OAuth address, then do not present the “From Email Address” field to the user. You must understand that that will result in confusion, right? Or at the very least include some disclaimer somewhere that that field will not work as intended when using it with a Gmail account.

    As a side note to the authors of the plugin…

    In the current version of Woocommerce, the file that is causing this problem has grown to just under 110K. So the 100K limit was probably broken recently.

    I can imagine that this is going to cause many more support questions in the near future, as the translation table continues to grow and more and more strings will not be shown in Loco Translate.
    So it might be a good idea to somehow split the translation table into parts, so that each part remains below 100K. I think that solution would be preferable to explaining on this website somewhere, the cause of the problem and how to solve it by increasing the size limit in the Loco Translate settings. I am sure that you know that 90% does not RTFM ??

    I came here seaching for a solution since I ran into this same problem.

    I could not believe the given solution above, having to modify the code just to translate a string. It should be in the .po file, right?
    So I continued searching for a solution and finally found it in a different place. I’ll share it here in case anyone else finds this page looking for this solution.

    The text “Your cart is currently empty.” is translatable with Loco Translate.

    The problem is that Loco Translate has a file size limit for loading files. The default limit is 100K, and that’s the problem. The text “Your cart is currently empty.” is beyond the 100K boundry, so it is not loaded.
    Fortunately you can easily change the limit in the Loco Translate settings (see the setting: “Skip PHP-files that are larger than”).

    I increased the limit to 500K. Then I clicked the “Synchronize” button, and lo and behold, now the string is in the list of translatable strings and I can translate it.
    And it works.

    Thread Starter aspegic

    (@aspegic)

    Ok, great! Thanks very much!

    Thread Starter aspegic

    (@aspegic)

    Without the ‘eventorganiser’ part, the text never gets translated.

    Thread Starter aspegic

    (@aspegic)

    I assume you didn’t get my email then. (febr 18th)
    I sent the updated nl_NL files and a 4th translation bug:

    (4) File: event-organiser-manage.php
    line 122:
    
        eo_event_category_dropdown( array( 'hide_empty' => false, 'show_option_all' => __( 'View all categories' ) ) );
    
    replace with:
    
        eo_event_category_dropdown( array( 'hide_empty' => false, 'show_option_all' => __( 'View all categories', 'eventorganiser' ) ) );
Viewing 6 replies - 1 through 6 (of 6 total)