Localizing Components

Created on 26 April 2023, almost 2 years ago

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.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine taraskorpach Lutsk πŸ‡ΊπŸ‡¦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024