Skip to Content Skip to Menu

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

Can't locate this language string

  • mjl1817
  • mjl1817
  • OFFLINE
  • Posts: 42
  • Thanks: 6
  • Karma: 1
8 years 6 months ago #280527 by mjl1817
Can't locate this language string was created by mjl1817
I have been making many overrides for the language file but I cannot for the life of me find these three that are located on a the group page. My mind has turned to mush, could someone please tell which file these three strings are located in and what line?

Thx Image included

I wish I knew, Then we would both know.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280552 by krileon
Replied by krileon on topic Can't locate this language string
All GJ language strings are in GJs language files. The defaults can be found below.

components/com_comprofiler/plugin/user/plug_cbgroupjive/language/default_language/

They should not be modified at the above location though, but instead translated in your CB language files as needed. You can find information on language string usage in the CB 2.0 Primer Book and at the below location.

www.joomlapolis.com/cb-solutions/languages

For example Users is as follows.

Code:
'GROUP_USERS' => 'Users',

The counter is as follows.

Code:
'GROUP_USERS_COUNT' => '%%COUNT%% User|%%COUNT%% Users',


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.

  • mjl1817
  • mjl1817
  • OFFLINE
  • Posts: 42
  • Thanks: 6
  • Karma: 1
8 years 6 months ago - 8 years 6 months ago #280666 by mjl1817
Replied by mjl1817 on topic Can't locate this language string
I didn't mean to say "which files" are these in. I meant to say "can anyone tell me which lines these three are on" so that I can make the override in the override file.

Not all uses of the term "users" need to be altered but I do need to alter these three that I can't pinpoint.. (I found almost all the others I needed to find)

See, my brain really had turned to mush that night

I wish I knew, Then we would both know.
Last edit: 8 years 6 months ago by mjl1817.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280700 by krileon
Replied by krileon on topic Can't locate this language string
You need to search your language files for those language keys (GROUP_USERS and GROUP_USERS_COUNT) then translate them to something else as needed.

If you mean you want to change it in the template files specifically for groups you'll have to modify the group template file below.

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/group.php

Both the users counter and tab are output in the above template file. I recommend copying the default folder and naming it something like "mytemplate" next delete everything in it except group.php and index.html. Now within GJ > Configuration select "mytemplate" for your template. This will avoid you losing your changes on future GJ installs.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum