• Resolved tuxfighter

    (@tuxfighter)


    Плагин не готов к переводу.
    Я перевел и его и страницу в каталоге.
    Страница – на русском.
    Плагин – остался без перевода

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author taisho

    (@taisho)

    That’s a nice piece of work! Thanks for reporting this problem. Both Ajax Cart AutoUpdate and Qty Increment Buttons work with .mo translation file (there is one for Spanish included). I will check why it doesn’t work with translate.wordpress.org within 2 days and hopefully have it fixed.

    Best regards,

    Ryszard

    Plugin Author taisho

    (@taisho)

    Hello,

    I’m very sorry for the delay. I updated Ajax Cart AutoUpdate and hopefully, it can now support your translations. I will be updating Qty Increment Buttons for WooCommerce at the end of this weekend.

    Best regards,

    Ryszard

    Plugin Author taisho

    (@taisho)

    I found the reason and got a working solution – tested on today’s release of Extra Settings for WooCommerce. I’ll try to get both ACAU and QIB updated in the next few days.

    Some of the strings were properly listed on translate.wordpress. However, unlike many programs to generate translation strings from code, translate.wordpress can’t extract strings passed to the translation function as a variable.

    For example, this one can’t be used to translate an array with titles:

    __( $arr[$key]['title'], 'ajax-cart-autoupdate-for-woocommerce' )

    Instead, all titles in this array, for example Update delay, need to be replaced with translation function like this:

    __('Update delay', 'ajax-cart-autoupdate-for-woocommerce' )

    So they are already translated when used as variables:

    $arr[$key]['title']

    • This reply was modified 4 years, 4 months ago by taisho.
    Plugin Author taisho

    (@taisho)

    I released a new version, the strings are now correctly automatically loaded:

    https://translate.wordpress.org/projects/wp-plugins/ajax-cart-autoupdate-for-woocommerce/dev/ru/default/

    I will do a similar update for Quantity Increment Buttons for WooCommerce this evening. Once again – many thanks for bringing this to my attention and sorry for the wait!

    Thread Starter tuxfighter

    (@tuxfighter)

    Спасибо!! Все работает отлично, перевод появился!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Перевод плагина’ is closed to new replies.