This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: WCML
Related documentation:
This topic contains 6 replies, has 1 voice.
Last updated by ziga pipan 2 days, 5 hours ago.
Assisted by: Marcel.
Author | Posts |
---|---|
November 21, 2024 at 10:02 am #16428248 | |
ziga pipan |
Background of the issue: Symptoms: Questions: |
November 21, 2024 at 12:11 pm #16428838 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, Thanks for contacting us. While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly. That is not possible, you can either translate this to some other value for 2nd language, or you can set a different payment gateway/bank account per currency: Maybe something similar is possible with custom code in Wocommerce and hiding another bank account if the client's billing address is Croatia / Slovenia. Regards, |
November 21, 2024 at 12:21 pm #16428874 | |
ziga pipan |
I'm not sure you understood me. I'm not trying to have multi currency. I have 2 bank accounts for slovenian customers I have 1 bank account for customers I translated strings from SI BANK 1 to HR BANK 3. But how do I disable a second bank? I don't want it to appear in croatian customers emails Do I just translate it and use empty spaces? |
November 21, 2024 at 5:25 pm #16430489 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, Please note that WooCommerce Multilingual is designed to translate content on a 1:1 basis. If the bank accounts need to differ based on the language, there are several potential solutions: 1)Implement custom code to handle this functionality yourself. 2) Translate all content, but use placeholders (e.g., empty spaces) for the fields that should remain empty. 3) Use CSS to hide specific sections for a particular language. However, it’s likely that WooCommerce uses the same class names for both sets of bank details, which may require additional customization to target them properly. Let me know if you need further clarification or assistance with any of these approaches! Best regards, |
November 21, 2024 at 8:20 pm #16431047 | |
ziga pipan |
If empty spaces do the trick that's ok for me. |
November 22, 2024 at 8:05 am #16432069 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
You can try using a regular space or an ASCII whitespace character instead. There are several ASCII hidden link">whitespace symbols that are "invisible". Best regards, |
November 22, 2024 at 11:25 am #16433547 | |
ziga pipan |
thank you |
November 22, 2024 at 11:26 am #16433549 | |
ziga pipan |
thank you |