Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] Changing the text of the 'Calendar Year' validity period

2 years 5 months ago - 2 years 5 months ago #329896 by OEVAtechnology
When I select the the validity period as 'This calendar year' on the drop down, it appears as 'xx for one calendar year, then xx for one year' on the front-end.

I would like the text to be changed to show 'xx for this calendar year, ..'

Is there a simple way of amending this and also without the amendments being over-written by updates?
Last edit: 2 years 5 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
2 years 5 months ago #329904 by krileon
You can completely override how the price and validity display using the "Price display of plan (default: [AUTOMATIC])" parameter under the Presentation tab. It's also possible to override that to an extend using language strings. I believe that should be using the following.

Key: X_CALENDAR_YEARS
String: one calendar year|[X] calendar years

The first half controls single calendar year which you could change to the following.

Key: X_CALENDAR_YEARS
String: this calendar year|[X] calendar years

You can override language strings directly in CB using our built in language override feature shown below. It has a searching feature as well to help find language strings to override.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: OEVAtechnology

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

2 years 5 months ago #329908 by OEVAtechnology
Thank you again.

I couldn't find these strings in the normal Joomla template/language overrides, but I knew they were available somewhere.

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

Moderators: beatnantkrileon
Powered by Kunena Forum