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 3 replies, has 2 voices.

Last updated by Bigul 3 months, 1 week ago.

Assigned support staff: Bigul.

Author Posts
July 11, 2019 at 2:53 pm #4191171

danielK-15

hi... i have 2 bankaccounts ... 1 account for 4 languages and one account for the fith language... problem is that on the thank you page and in the email both bancaccounts show up... i read somewhere its possible to only show one account depending on the language

July 11, 2019 at 7:16 pm #4192825

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve these issues.

How you are managing the bank accounts(the plugin you are using for it). Please share me a couple of screenshots for a better understanding of the settings.

Maybe it will be possible to translate the account information using String Translation. We can choose most of the theme/admin options for translation from WPML>>String Translation>>Translate texts in admin screens(on the bottom of the screen). Please check the following documentation for more details.

https://wpml.org/documentation/getting-started-guide/translating-theme-options/

https://wpml.org/documentation/getting-started-guide/string-translation/#admin_texts

--
Thanks!

Bigul

July 12, 2019 at 6:55 am #4195569

danielK-15

i use the regulare woocommerce payment options for bank transfer,,, the translation is working... thats not the problem... but it always show both accounts (screenshot 10)... i need that is shows in Rumanian only the coresponding account an in all other languages the second account... so that is always one bank account visable in the right language... i t hink i saw this before done by wpml?

July 12, 2019 at 1:24 pm #4199307

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. Please try the following steps after a site backup and let me know your feedback.

1) Visit WooCommerce>>Settings>>Payments>>Direct bank transfer
2) Remove the second account
3) Visit WPML>>Settings>>Custom XML configuration
4) Add the following code in *Custom XML configuration* field

<wpml-config>
    <admin-texts>
        <key name="woocommerce_bacs_accounts">
            <key name="0">
                <key name="account_name" />
                <key name="account_number" />
                <key name="bank_name" />
                <key name="sort_code" />
                <key name="iban" />
                <key name="bic" /></key>            
        </key>
    </admin-texts>
</wpml-config>  

5) Visit WPML>>String Translation, translate the account details in Romanian
6) Then check you are getting the expected result in the frontend or not

Please check the following tickets for more details.

https://wpml.org/forums/topic/how-to-show-different-bank-account-details-for-each-language-during-check-out/

https://wpml.org/forums/topic/bacs-accounts-translation/

--
Thanks!

Bigul

The topic ‘[Closed] 2 different bank accounts for 2 different langauges’ is closed to new replies.