• I have updated plug-in to version 3.12, but when I add a product to the cart, a small window appears that allows you to continue shopping or go to checkout. The language of this window is English although I have selected Italian language. I have checked the wp-e-commerce-it_IT.po file seems ok.

    Can you help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you look in wpsc-components/fancy-notifications/fancy-notifications.php line 71 you see
    esc_html__( 'Go to Checkout', 'wpsc' ) );
    which should probably be
    esc_html__( 'Go to Checkout', 'wp-e-commerce' ) );

    Thread Starter enricogan

    (@enricogan)

    It’s Ok!

    But I saw nothing in the wp-e-commerce-it_IT.po file is detected for translation.
    Can you help me?

    In wp-e-commerce-it_IT.po I see

    
    msgid "Go to Checkout"
    msgstr "Andate alla cassa"
    

    Did you make the change in fancy-notifications.php line 71? And hard refresh / clear caches?

    Thread Starter enricogan

    (@enricogan)

    I have solved the problem with “go to checkout or continue shopping”.

    Now I would like to translate other parts editing the po file, but does not detect the changes as in the previous case.

    Can you help me?

    • This reply was modified 8 years, 1 month ago by enricogan.
    whitelamp

    (@whitelamp)

    Attention developers! This turned out to be a bug. wpsc-components/fancy-notifications/fancy-notifications.php is still using the “old” ‘wpsc’ translation files but of course translations are now held in wp-e-commerce. Not knowing how many other places would need fixing, I decided it was quickest and easiest just to make a copy of the current translation file under the new name and make sure that both get loaded. Hopefully this can be fixed in the next iteration. I do not imagine it would be too hard to grep the source for any other occurrences.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘language “continue shopping – go to checkout”’ is closed to new replies.