- Issue created by @taraskorpach
Thank you for creating the Drupal module that has helped me with payments. Your hard work and dedication are greatly appreciated and have made a significant impact on our ability to process payments efficiently. We are grateful for your expertise and contributions to the Drupal community.
I would like to suggest adding the ability to translate component labels based on the original documentation provided by Adyen (https://docs.adyen.com/online-payments/web-components/localization-compo...).
To achieve this, we can add the current site language to the configuration constant in the 'commerceAdyenWebComponent' property. However, we would need to include a mapper to transform certain language codes, such as 'fr', to the correct format (in this case, 'fr-FR'). Additionally, we should keep in mind that we can add our own translations by overwriting the original ones.
Please let me know your thoughts on this suggestion and if there are any potential implementation challenges. Thank you in advance.
Needs work
1.0
Code