Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 16
5052
0
thg 2 25
1302
2
thg 2 25
4397
1
thg 1 25
2175
0
thg 11 24
1319