Support » Plugin: Woocommerce Gift Wrapper » Translate Gift Wrap Details

  • Resolved jerbnl


    Hi Support,

    We are really struggling with translating the string of Gift Wrap Details…

    How could we translate it? We cant find it in WPML String Translation.
    Looking forward to your reply!

    With best regards,


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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Little Package


    Since that text is held in the wp_options table, you will need to add a key entry to your config file (more on that here in case you want to research:

    To keep it simple, add following code in WPML > Settings > Custom XML Configuration section:

        <key name="giftwrap_details"/>

    ( If you already have opening and closing <wpml-config> tags, then just add in the <admin-texts></admin-texts> code in between them. )

    And then you should be able string translate the option. Please let me know how this works.

    Hi Support,

    This works! Thank you for the amazing support.

    Plugin Author Little Package


    @jerbnl I’m very happy that helped you. Thank you for letting me know.

    Plugin Author Little Package


    There is a general problem translating the “Giftwrap Details” string, which is stored in the wp_options table, where it’s trickier for translation plugins to access.

    WPML can translate it, but from what I can tell other translation services probably cannot. I’ve released version 3.0.3 of the Giftwrapper plugin, which address the “Giftwrap Details” string by adding a translatable fallback string in case the “Giftwrap Details” option is left BLANK/EMPTY in the Giftwrapper settings.

    So, with WPML, you can carry on and use the instructions above, or you can leave the setting blank and translate the fallback/default string (now: “We offer the following gift wrap options:” in English) more easily.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translate Gift Wrap Details’ is closed to new replies.