Skip to Content Skip to Menu

Translate cbactivity-language

  • Latypov
  • Latypov
  • ONLINE
  • Posts: 29
  • Thanks: 2
  • Karma: 0
6 hours 57 minutes ago - 6 hours 57 minutes ago #344747 by Latypov
Translate cbactivity-language was created by Latypov
Hi. I wanted to change the translation in the activity feed.

...\components\com_comprofiler\plugin\user\plug_cbactivity\templates\default\activity\core\gallery.php
The file contains a variable for translation - SHARED_MEDIA_TITLE_IN_ALBUM

This variable is contained only in the file
...\components\com_comprofiler\plugin\user\plug_cbactivity\language\default_language\language.php
'SHARED_MEDIA_TITLE_IN_ALBUM'    =>    'shared [title] in album [album]',

This translation doesn’t work. You need to move this line to the file
...\components\com_comprofiler\plugin\language\en-gb\cbplugin\cbactivity-language.php

Or it would be better to change all the language variables in the gallery.php file so that they match the cbactivity-language.php file.
Attachments:
Last edit: 6 hours 57 minutes ago by Latypov.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50804
  • Thanks: 8704
  • Karma: 1475
1 hour 10 minutes ago #344748 by krileon
Replied by krileon on topic Translate cbactivity-language
/en-gb/ language plugin is not necessary. The default built in language is already en-gb. Those language plugins are provided as examples for building your own and we haven't rebuilt them in quite some time. Will add a note to their descriptions so people stop accidently installing them.


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: beat, nant, krileon
Powered by Kunena Forum