New Landing How can we help? Atelier Translation Issue on variable Product Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #288656
    seboo
    Member
    Post count: 1

    Hello,

    I use the Atelier Theme with german language. I translated everything, but one string I can’t find: On the single product page there is a dropdown select box “Choose a Color”. Color is translated to “Farbe” – now it’s “Choose a Farbe”. But I am unable to translate “Choose a”.

    I have found the corresponding text passage in the following file: atelier/woocommerce/single-product/add-to-cart/variable.php on line 32:

    $default = sprintf( __( 'Choose a %s', 'swiftframework'), wc_attribute_label( $attribute_name ) );

    How can I translate this, without changing the file each time?

    Thanks in advance!

    #288671
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I answered this recently here:

    1) Install child theme and activate:

    http://www.swiftideas.com/forums/topic/choose-an-option-slideout-problem/#post-287157.

    2) Re-save translation files: http://www.swiftideas.com/forums/topic/choose-an-option-slideout-problem/#post-287595.

    Thanks.

    #288692
    seboo
    Member
    Post count: 1

    Thank you David, that helped my a lot!

    #288696
    David Martin – Support
    Moderator
    Post count: 20834

    Happy to help you!

    Thanks.

    #325846
    quintenvanyperen
    Member
    Post count: 7

    Hi,

    I followed all the steps in your tutorial, but but the line: Choose a %s could not be translated for the Dutch (nl_NL.po) trough poedit because I can’t be found. I checked the Turkish file you created and that one contained the line Choose a %s.

    Is it possible to add this line manually?

    Quinten

    #325847
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Yes it is possible to add it manually, probably we forgot to add it.

    -Rui

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register