跳至内容
菜单
此问题已终结

When I select Stripe and bank transfer as payment methods in Odoo 17, the options are always displayed in English. Is there a way to translate the Stripe fields in checkout as well? The fields (especially Wire Transfer) have a “name,” but unlike most other fields in Odoo, there is no translate symbol (e.g., EN, DE) next to the field to store multiple names per language. This means that the customer never sees a translation


形象
丢弃
最佳答案

Hi,

You’re right — in Odoo 17 the payment method names (Wire Transfer, Stripe, etc.) don’t show the usual “translate” option in the form view. That’s because they’re stored as plain name fields in payment.provider, not as translatable fields.

To translate them you have a couple of options:

  1. Use the Website Translations tool → go to Website › Configuration › Translations › Languages › Load a Translation and then Website › Translations › Edit Translations. Search for “Wire Transfer” or “Stripe” and add your translation. It will apply on the checkout page.
  2. If it doesn’t appear there, you can enable Developer ModeSettings › Technical › User Interface › Translations › Application Terms and search/edit the string directly.
  3. Last resort: add a small customization that makes the name field of payment.provider translatable (translate=True), then update translations.

Hope this helps!

形象
丢弃
相关帖文 回复 查看 活动
0
5月 16
5131
0
2月 25
1413
2
2月 25
4532
1
1月 25
2270
0
11月 24
1401