Zum Hauptinhalt springen

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

How To Setup Plan Title And Description To Support Multilanguage

If your site is using multilingual, perhaps, this documentation would benefit you. Following are the steps to make the plan title and description translatable.

  1. Navigate to PayPlans > Settings > Plans > General. Locate and turn off this option Enable Editor for Plan Description.
  2. 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
  3. 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.
  4. 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"

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.