• Hi all, would it be possibe to add another string “Delivery date” to string for translation? Or is it possible to add it locally? I can modify my own template with adding my own string, but this way it won′t be translated.

    Perhaps in the next version??

    Kiski

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

    (@dwpriv)

    Are you using a translation plugin like LocoTranslate to do the translations?

    Thread Starter kiskitrains

    (@kiskitrains)

    Currently I′m not doing any custom translations. It′s just that my country request a delivery date to be on invoices, and while I can create my own template and add it to the invoice, it will still be in my own language. And because I also have clients from other countries, they will get the invoice in english language. With custom invoice this particular sentence would be in my native language, while the rest of invoice would be in english. That′s not good.

    Plugin Contributor Darren Peyou

    (@dpeyou)

    Hey @kiskitrains,


    The Dirty Way:
    If you are adding the text to be translated via a custom template or code snippet, to make it translatable, you need to use gettext hooks. These will allow setting the translation per language, using the $domain variable.


    The Cleaner Way:
    In order to have multilingual documents where you can also translate added text like in your case – via a process called ‘String Translation’ – you need to use a multilingual plugin like Polylang.
    Multilingual Documents with Polylang – Custom Block Translation – WP Overnight Documentation
    This itself requires access to the Professional extension of our plugin to guarantee support. Support for paid software is banned in these forums so please email us at [email protected] for more info regarding this paid software. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.