Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Kazi Mohammad Foysal

    (@kmfoysal06)

    I Apologize for the title it was mistakenly done by me.before this problem I am Getting error about adding translators in comment so I mistakenly put translators in comment instead of the error in screenshot.Please Someone Help me to get rid of this.

    Thread Starter Kazi Mohammad Foysal

    (@kmfoysal06)

    FIxed

    Baikare Sandip

    (@baikaresandeep007-1)

    Hi @kmfoysal06

    You can improve your code by using % inside the __() method like below rather than appending with $dynamic_vat variable. It will help you to translate the text in other languages

    $fee_label = sprintf(
    __("Flat Fee + Vat ( %1\$s + %2\$s )%", "additional-fees-wc"),
    $flate_vat,
    $dynamic_vat
    );
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.