Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] editing the message on default_language.php

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #222892 by krileon
Replied by krileon on topic editing the message on default_language.php
That's a GJ language string and will be in GJs English language plugin. If not installed then re-download GJ as it's included with the GJ package. Once installed you can translate it from GJs language files found at the below location.

components/com_comprofiler/plugin/language/cbgroupjiveen-gb/


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.

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

11 years 7 months ago #223226 by mothersofboys
Replied by mothersofboys on topic editing the message on default_language.php
I have been able to modify the CSS that is controlling the message and make it bolder and a different color by editing my system.css of the template.

I have tried editing components/com_comprofiler/plugin/language/cbgroupjiveen-gb/language.php

to add " You will receive an email when you are approved. " to the message that is

'[group] join request awaiting approval.' => '[group] join request awaiting approval.',

and on this line

'Joined [group] successfully and awaiting approval!' => 'Joined [group] successfully and awaiting approval!',


But it's not working. I have deleted the language.php file from the directory and the message still appears
'Joined [group] successfully and awaiting approval!' => 'Joined [group] successfully and awaiting approval!',

So it seems that maybe this messaging is NOT coming from
components/com_comprofiler/plugin/language/cbgroupjiveen-gb/language.php file ??

Why would it still deliver the "joined successful and awaiting" message if the language.php file was deleted? (and yes, I deleted browser history and reloaded with CNTL-F5)

Thanks
LrG

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago - 11 years 7 months ago #223255 by krileon
Replied by krileon on topic editing the message on default_language.php
It's there on line 271, seams to be working ok to me. Maybe you've duplicated the string somewhere? Are you using the language plugin included with the GJ 2.7 package? You can enable language string debugging within CB > Configuration > Integrations and it can help find out what isn't translating. It doesn't matter if you delete the language string, it'll still display it. You need to do the below to blank out the string.

'Joined [group] successfully and awaiting approval!' => '',


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.
Last edit: 11 years 7 months ago by krileon.

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

11 years 7 months ago #223373 by mothersofboys
Replied by mothersofboys on topic editing the message on default_language.php
yes I have re-downloaded GJ 2.7.0 and modified that components/com_comprofiler/plugin/language/cbgroupjiveen-gb/language.php file

that line is on my 289 in my php file. That's the one I edited and it didn't work.

It's ok - I'm going to 'put this to bed' until the client speaks up

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

Moderators: beatnantkrileon
Powered by Kunena Forum