Skip to Content Skip to Menu

[solved] cblanguageoverride for cb_activity problem

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 11 months ago - 6 years 11 months ago #298704 by chanteur94
Hi

i'm using cblanguageoverride for many french translation.
All it works with community builder or cb_gallery but not for cb_activity like :

'WHATS_ON_YOUR_MIND_4a3104' => 'Qu\'est-ce qui est dans votre esprit ?',

Any help ?
Thank you.
Last edit: 6 years 11 months ago by chanteur94. Reason: Solved

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #298755 by krileon
Replied by krileon on topic cblanguageoverride for cb_activity problem
Don't know what to suggest. The below works perfectly fine in my tests.

Key: WHATS_ON_YOUR_MIND_4a3104
String: TEST

Are you having this issue on all activity streams? Profile? Recent activity page? Activity modules?


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.

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 11 months ago #298764 by chanteur94
Replied by chanteur94 on topic cblanguageoverride for cb_activity problem
It works if i change the strings in the file "cbactivity-language.php" (with an uptade of cb_activity, i will loose my modification)

But if I try in the file "cblanguageoverride-language.php" , doesn't work.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #298768 by krileon
Replied by krileon on topic cblanguageoverride for cb_activity problem
cblanguageoverride-language.php was a workaround usage for language overrides. It was just using a plugin as a means of forcing a custom language file to load. Use the below for official language overrides.

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

You can actually copy cblanguageoverride-language.php to your language folder and rename it to override.php to keep your existing overrides. So for example if you wanted your overrides to be a part of default English language its path would be as follows.

/components/com_comprofiler/plugin/language/default_language/override.php


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: chanteur94

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

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 11 months ago #298771 by chanteur94
Replied by chanteur94 on topic cblanguageoverride for cb_activity problem
Thank you. Works fine.

So I can uninstall the cb language override plugin ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #298775 by krileon
Replied by krileon on topic cblanguageoverride for cb_activity problem

So I can uninstall the cb language override plugin ?

After you've copied over your overrides, yes.


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