• I don’t use any translation plugins, just WP functionality. I have WordPress site language set to Estonian under Settings > General > Site Language. Under my admin user profile Users > Your Profile > Language I have set English as my language. This is because there is much more instructions in English and it is much easier to follow them.

    When customer places an order, Invoice sent is completely in Estonian. When I log in to admin area (in English) and send to customer an invoice, then it is partially translated to Estoniain an partially in English.

    When I set my admin user profile also to Estonian, then this manually sent invoice is fully in Estonian.

    Interesting thing is that when I press PDF Invoice under order details to download that invoice, it is nicely and fully translated to Estoniain even that my user profile was set to English.

    I read in this forum that PDF Invoices should be sent according to site language. I would even understand if invoice would be sent from my admin in English fully, but partially translated version is odd.

    Do you have any ideas how to keep Site language in Estonian, admin user in English and still send invoices in Estonian?

    In a perfect world it would send invoices in initial language user placed an order or in a Site language. Perhaps administrators can choose what option they prefer. And in case customer complains that he/she would like to get an invoice in different language, then admin can choose invoice language at the order details page in Send order email section.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi There,
    Unfortunately multilingual setups are inherently difficult. Parts of the invoice are generated by WooCommerce (most notably the invoice totals) and other parts by the PDF invoice plugin itself. The PDF invoice plugin is loaded relatively late in the process for various reasons (allowing other plugins to hook in, for one), and this means that the language could be different. I agree that Ideally it should be in one language. Could you provide some more details on the parts that are translated? If you send from the English backend, which parts are in English?

    If you need to have order specific languages, you will need a plugin like WPML or Polylang – these plugins are pretty heavy though (showing how complex this process actually is), so I would think twice before doing that.

    Let me know about those details and I’ll see what I can do for you!

    Thread Starter Rubidze

    (@rubidze)

    Thank you @pomegranate for checking into this. There are just few things in English with described scenario.
    These are:

      Choosen terminal (That carries info for shipping from “Estonian Shipping Methods for WooCommerce” plugin)
      Subtotal
      Shipping
      Total
    Plugin Contributor Ewout

    (@pomegranate)

    Unfortunately those strings are actually the ones that come from WooCommerce itself rather than from the PDF invoice plugin!

    To summarize:

    1. Customer places order: email = Estonian, pdf = Estonian
    2. Admin English, send email: email = ?, pdf = Both
    3. Admin Estonian, send email: email = ?, pdf = Estonian
    4. Admin English, create invoice: pdf = Estonian

    Is that correct? Can you double check the email language of 2 & 3? (order totals specifically, as these use the same functions & strings as the PDF plugin)

    Also, which email are you sending out and how exactly?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manually sent invoices in wrong language’ is closed to new replies.