Translate GroupJive CB Plugin

9 years 10 months ago #121803 by rivers
Hi
I need to translate the GroupJive CB Plugin into Norwegian.
I have tried searching on the net to find out if anyone has translated this Plugin into any language. Is it anyone here who has translated this plugin and know how to do it? Because I can't find out how to proceed in translating it, what to call the file, etc

Can anyone help me?

Best regards
Rivers.
:laugh:
9 years 10 months ago #121832 by krileon
Language files are stored at components/com_groupjive/language/. You can make a copy of components/com_groupjive/language/english/ and rename to be a different language followed by editing the language.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
9 years 10 months ago #121835 by rivers
Thank you for reply.

Yes I know this.
But I do not need to translate the component since it's allreay translated.

I need to translate the Groupjive Community builder Plugin that you install from the CB plugin installer. How can I do this ?

Best regards
Rivers

Post edited by: rivers, at: 2010/01/15 14:36
9 years 10 months ago #121843 by krileon
It uses language strings in the same aspect CB does. You'll want to add those language strings to components/com_comprofiler/plugin/language/default_language/cbteamplugins_language.php.

Example
[code:1]
'Group' => 'Group',
'Category' => 'Category',
'Creator' => 'Creator',
'Type' => 'Type',
'Members' => 'Members',
'Joined' => 'Joined',
[/code:1]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
9 years 10 months ago #121854 by rivers
OK, tnx.
I tried to insert the language strings into the cbteamplguns_language.php.
I did it like this:
// Groupjive plugin: (new method: UTF8 encoding here):
CBTxt::addStrings( array(
'Group' => 'Group',
'Category' => 'Category',
'Creator' => 'Creator',
'Type' => 'Type',
'Members' => 'Members',
'Joined' => 'Joined',

etc etc

But it only made my screen turn blank so I had to remove it.

Post edited by: rivers, at: 2010/01/15 15:45
9 years 10 months ago #121899 by krileon
Try the following or simply add to one of the existing arrays.

Add to end of the file.
[code:1]
// GroupJive plugin:
CBTxt::addStrings( array(
'Group' => 'Group',
'Category' => 'Category',
'Creator' => 'Creator',
'Type' => 'Type',
'Members' => 'Members',
'Joined' => 'Joined',
) );
[/code:1]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
Moderators: beatnantkrileon
Time to create page: 0.468 seconds
Facebook Twitter Google LinkedIn