Skip to Content Skip to Menu

Groupjive translation of categories

  • flatmatch
  • flatmatch
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 1
11 years 8 months ago #221645 by flatmatch
Groupjive translation of categories was created by flatmatch
Hello,

I installed Groupjive & plugins. My website is multilangual: EN,ES,FR
I added some categories names in the english language file (components/com_comprofiler/plugin/language/cbgroupjiveen-gb/language.php) like this:
'GROUPJIVE_CATEGORY_ACTIVITIES' => 'Activities',
'GROUPJIVE_CATEGORY_SERVICES' => 'Services',
'GROUPJIVE_CATEGORY_JOB' => 'Jobs',
'GROUPJIVE_CATEGORY_PRODUCTS' => 'Products',

But it doesn't work, in frontend I see GROUPJIVE_CATEGORY_ACTIVITIES instead of Activities

What did I do wrong?

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
11 years 8 months ago - 11 years 8 months ago #221647 by jojo12
Replied by jojo12 on topic Groupjive translation of categories
Hi, I am only a user.
If you would look into the structure of language.php, you would see a structure like:

'Description' => 'Beschreibung',

You will see in english both sides are the same. So for your special language file you have to let the first part of the line, and after to translate to whatever. And at the end, you set a Comma.

so you need first the english words and then the translation with the same rules.
Last edit: 11 years 8 months ago by jojo12.

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

  • flatmatch
  • flatmatch
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 1
11 years 8 months ago #221655 by flatmatch
Replied by flatmatch on topic Groupjive translation of categories
It doesn't work.
I change it like this in english language:
'Activities' => 'Activities',
And like this in french language
'Activities' => 'Activités',
Activities is displayed in french language.

Obviously, categories can't be multilingual! This is sad.

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
11 years 8 months ago #221665 by jojo12
Replied by jojo12 on topic Groupjive translation of categories
Yes, I fear that CB cannot be multilingual

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

  • flatmatch
  • flatmatch
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 1
11 years 8 months ago #221666 by flatmatch
Replied by flatmatch on topic Groupjive translation of categories
CB is multilangual, but not GroupJive.((

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

Moderators: beatnantkrileonasamawi
Powered by Kunena Forum