• Resolved beerking

    (@beerking)


    Hello,

    Is it possible to change “add gift wrap” into for example “kies hier een cadeau verpakking”

    (Translated Dutch into English:) “add gift wrap” meaning “Cadeauverpakking toevoegen”

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @beerking,

    This plugin, similar to most other plugins for WordPress, is translation-ready (l10n-ready).

    You can learn more about what to do next here: https://www.wpbeginner.com/wp-tutorials/how-to-translate-a-wordpress-plugin-in-your-language/ This information will always be helpful for you esp. since your site is not in English. Personally, I use and recommend Poedit.

    This plugin also has a template system you can use to change text, though I do recommend using translation strings (localization) first, as templates are more liable to change than strings.

    If neither of these options is satisfactory to you, there is a “string translator” settings page in the Premium version which allows you to set your own text for every front-end string. But, I believe the information in the first link will help you (and possibly everyone else, if you choose to help translate this plugin into Dutch) more!

    • This reply was modified 4 years, 4 months ago by Little Package. Reason: > instead of comma in secon paragraph

    Hi @beerking

    It’s been nearly three weeks and we haven’t heard back from you. Hopefully you were able to sort something out for your site. Do you still have questions?

    I don’t want to translate but I would like to change ‘add gift wrap’ so it says’ ‘PACKAGING OPTION’ in capital. Would there be a CSS for that? I tried a couple that were posted in other sections on this forum but they didn’t work and created error messages.

    Thanks

    function my_change_wrap_prompt( $prompt ) {
        $prompt = 'PACKAGING OPTION';
        return $prompt;
    }
    add_filter( 'wcgwp_add_wrap_prompt', 'my_change_wrap_prompt', 11, 1 );

    This isn’t CSS. It’s PHP, the language WordPress is (mostly) written in. You can either add it to some fresh lines in your CHILD THEME functions.php file, or if you have no idea what that means, add it using the Code Snippets plugin for WordPress (front end only).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change text “add gift wrap”’ is closed to new replies.