- Issue created by @Kevin.-
- Status changed to Needs review
about 1 year ago 1:58pm 2 October 2023
Currently, the 'prefix_text' field in the Commerce Agree Terms module's default configuration is not translatable. This limitation poses challenges for websites with multilingual content that require translations for this field. To enhance multilingual support and flexibility, this issue proposes making the 'prefix_text' field translatable.
1. Install and enable the Commerce Agree Terms module.
2. Configure a checkout pane with the 'Agree to the terms and conditions' option.
3. Visit the checkout page.
4. Observe that the 'prefix_text' field, which typically appears as "I agree with the Terms and Conditions," is not translatable in the default configuration.
The proposed resolution is to make the 'prefix_text' field translatable within the module's default configuration. This will enable site administrators to customize and translate the prefix text based on their specific language and content requirements. We will achieve this by implementing translatable strings for the 'prefix_text' field and providing translation support in the user interface.
- [ ] Implement translatable strings for the 'prefix_text' field.
- [ ] Test the changes thoroughly to ensure they work as expected.
With this enhancement, site administrators will have the ability to translate the 'prefix_text' field within the Commerce Agree Terms module's configuration. This will be accessible through the module's settings in the Drupal admin interface.
There are no proposed API changes for this issue.
This issue does not introduce changes to the data model.
Needs review
2.0
Code