If your site is using multilingual, perhaps, this documentation would benefit you. Following are the steps to make the plan title and description translatable.
- Navigate to PayPlans > Settings > Plans > General. Locate and turn off this option Enable Editor for Plan Description.
- Next, edit or create a new plan. You'll need to define the custom language constants (can be anything) for the plan title and plan description. i.e:
COM_PP_CUSTOM_PLAN_FIXED_TITLE - Place the newly created custom language constants in the Joomla language override section. You may read more here on How to Create Language Overrides in Joomla.
Add the translation for the custom language constants. For example, you have two plans and the custom language constants are as follows:
English
Fixed plan:
COM_PP_CUSTOM_PLAN_FIXED_TITLE="Fixed Plan"
COM_PP_CUSTOM_PLAN_FIXED_DESC="Fixed Plan Description"Recurring plan
COM_PP_CUSTOM_PLAN_RECURRING_TITLE="Recurring Plan"
COM_PP_CUSTOM_PLAN_RECURRING_DESC="Recurring Plan Description"
Spanisch
Fixed plan:
COM_PP_CUSTOM_PLAN_FIXED_TITLE="Plan Fijo"
COM_PP_CUSTOM_PLAN_FIXED_DESC="Descripción del plan fijo"Recurring plan
COM_PP_CUSTOM_PLAN_RECURRING_TITLE="Plan Recurrente"
COM_PP_CUSTOM_PLAN_RECURRING_DESC="Descripción del plan recurrente"