This thread is resolved. Here is a description of the problem and solution.
Problem:
You want to translate bank account details in WooCommerce to Croatian using WPML, but you only have one bank account and need to disable the second one.
Solution:
Since WooCommerce Multilingual translates content on a 1:1 basis, here are a few approaches you can consider:
1) Implement custom code to handle different bank accounts based on the language.
2) Translate all content, using placeholders (e.g., empty spaces) for fields that should remain empty.
3) Use CSS to hide specific sections for a particular language. Note that WooCommerce might use the same class names for both sets of bank details, which may require additional customization to target them properly.
Alternatively, you can use a regular space or an ASCII whitespace character to make the second bank account details "invisible". You can find various ASCII whitespace symbols here.
If these solutions do not apply to your case, or if they seem outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum.
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.
This topic contains 6 replies, has 1 voice.
Last updated by 5 days, 20 hours ago.
Assisted by: Marcel.