Ir al contenido
Menú
Se marcó esta pregunta

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


Avatar
Descartar
Mejor respuesta

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!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 16
5043
0
feb 25
1266
2
feb 25
4354
1
ene 25
2131
0
nov 24
1252