Hi Christoph,
Generally you did it correctly, i.e. you should leave %%amount%%
and other placeholders as they are. You did however skip %s
in your translation – you should leave it there (it will be automatically replaced with either “minimum” or “maximum”).
Please note that this translation will only be used as a default value for the messages. That is, as soon as you will “Save changes” in our “Messages” section, the plugin will use whatever is set in “Messages”. So if you want to translate it for a multi-language site (WPML or Polylang), I would suggest using our [alg_wc_oma_translate]
shortcode. All you need to do is set something like this directly in our “Messages” settings section:
[alg_wc_oma_translate lang="DE"]Sie müssen mindestens %amount% für eine Lieferung bestellen. Ihr momentaner Auftrag ist %total%, bitte fügen Sie weitere Artikel hinzu.[/alg_wc_oma_translate][alg_wc_oma_translate lang="IT"]TODO: Translation in Italian[/alg_wc_oma_translate][alg_wc_oma_translate not_lang="DE,IT"]You must have an order with a minimum of %amount% for %product_title% to place your order, your current product total is %total%.[/alg_wc_oma_translate]
Hope that helps. Please let me know if you have any questions.