Groupjive translation of categories

11 years 2 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 to join the conversation.

11 years 2 months ago - 11 years 2 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.

Please Log in to join the conversation.

11 years 1 month 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 to join the conversation.

11 years 1 month ago #221665 by jojo12
Replied by jojo12 on topic Groupjive translation of categories
Yes, I fear that CB cannot be multilingual

Please Log in to join the conversation.

11 years 1 month ago #221666 by flatmatch
Replied by flatmatch on topic Groupjive translation of categories
CB is multilangual, but not GroupJive.((

Please Log in to join the conversation.

Moderators: beatnantkrileonasamawi
Time to create page: 0.213 seconds

Facebook Twitter LinkedIn