• Resolved alexalxs

    (@alexalxs)


    why “Congrats! Coupon code %s %s applied successfully” dont refer to funnel-builder.pot?

    This hard code is very bad pratic!

    Example:

    public function add_fragment_coupon_sidebar( $fragments ) {

    $messages = ”;

    $success_message = sprintf( __( ‘Congrats! Coupon code %s %s applied successfully.’, ‘funnel-builder’ ), ‘{{coupon_code}}’, ‘({{coupon_value}})’ );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @alexalxs,

    Thanks for your query and for reaching out to us.

    This string is directly available from the Draggable Coupon field settings, here https://i.imgur.com/nG3w0bx.png

    This can be edit from the internal options for the checkout page and not required in the .pot field.

    Let us know if any follow-up questions. Happy to discuss it.

    Thanks
    Team Funnelkit

    Thread Starter alexalxs

    (@alexalxs)

    Thanks for orientation. I verified here and this worked as you said.

    but, this way fully support to multilanguage site because would be required a string in the .pot field?

    Hi?@alexalxs,

    Thanks for the confirmation that it works from the inbuilt settings.

    You can still translate it from the particular language’s checkout page so it’s not required in the .pot file.

    Feel free to create a new thread if anything else.

    Thanks
    Team Funnelkit

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘why not in translate .po file’ is closed to new replies.