Include [PLAN_TITLE] in Terms & Conditions Translation

  • AdinaG
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 3 weeks ago #122325 by AdinaG
Hi

Would it possible to allow for the translation of the " OSM_TERM_AND_CONDITION " to include the [PLAN_TITLE] if desired?

I have different terms and conditions that the user must agree to based on the subscription and need them to notice that its different and not a one-for-all, so it would be great if there was a way to do this.

I attempted to add it but it didn't work.



Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #122363 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Include [PLAN_TITLE] in Terms & Conditions Translation
Hi

You can get this file, unzip it, upload to components/com_osmembership/view/register/tmpl folder on your site

Then go to Membership Pro -> Translation, find the language item OSM_TERM_AND_CONDITION, change it, using [PLAN_TITLE] tag and it will be replaced with title of the plan

If this change works well, I am happy to include it into core package

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • AdinaG
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 2 weeks ago - 6 years 2 weeks ago #122374 by AdinaG
HI Tuan Pham Ngoc

Unfortunately, it did not work...

Based on my understanding of what you said I uploaded the file and changed the translation as follows (see image)



Still looks the same.

Please note that what Im asking for is that the text would read the plan title name before the text terms & conditions

So if it were a "Banner Ads" plan it would read "Banner Ads Terms & Conditions"

OR

What if you just added the plan title before and not included it in the link...

So it would read I accept the Banner Ads <link>Terms & Conditions</link>

Thanks
Adina
  • Last edit: 6 years 2 weeks ago by AdinaG. Reason: Forgot an optional idea for change

    Please Log in or Create an account to join the conversation.

    More
    6 years 2 weeks ago #122380 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic Include [PLAN_TITLE] in Terms & Conditions Translation
    Your setup looks good to me. Not sure why it does not work. You can submit a support ticket sending us super admin account of your site, link to the page

    We are going to check to see why it does not work and get it sorted

    Tuan
    The following user(s) said Thank You: AdinaG

    Please Log in or Create an account to join the conversation.

    • AdinaG
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    6 years 2 weeks ago #122425 by AdinaG
    I'm going to say that even though I cleared my cache several times when testing this, that it was cached SOMEWHERE...

    Its working now!



    Thanks so much!

    Adina
  • Please Log in or Create an account to join the conversation.

    More
    6 years 2 weeks ago #122437 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic Include [PLAN_TITLE] in Terms & Conditions Translation
    Good to hear. Maybe the page was cached at server level (for example, when you use service like Sucuri or Cloudfare...)

    Anyway, it's working as expected now, so we are both happy. I will include this change in new version of Membership Pro, too

    Regards,

    Tuan
    The following user(s) said Thank You: AdinaG

    Please Log in or Create an account to join the conversation.