Leave a Reply

Comments

2 Comments

  1. Rune Kristoffersen December 2, 2015 at 5:49 pm #

    Hey,

    I am not able to get this translation code to work within the pdf invoice. When i print invoice it gives me the entire code:
    [wcj_wmpl_translate lang=”en”]Invoice[/wcj_wmpl_translate] or [wcj_wmpl_translate]Invoice[/wcj_wmpl_translate]

    Any idea?

    Brgds
    Rune

    Reply

    • Valentin Solovjov December 2, 2015 at 11:04 pm #

      Hello Rune,

      Sorry it was an error on that page right shortcode example (we corrected description):

      [wcj_wpml_translate lang="de"]Guten Tag![/wcj_wpml_translate]
      [wcj_wpml_translate lang="en"]Good day![/wcj_wpml_translate]

      This shortcodes will work on single or archive pages, but will not work on Invoice template.

      These shortcodes works on invoice:

      [wcj_text billing_country="US"]Invoice_name_for_US[/wcj_text]
      [wcj_text not_billing_country="US"]Invoice_name_not_for_US[/wcj_text]

      Let us know if there still some questions left.

      BR,
      Valentin