narcis VIP
Total posts: 138
06 Jun 2015 09:11

Hello,

I set custom key prefix in some cobalt type, and changed language strings in section events parameters for New Article and Edit Article by adding my key prefix; then i added these strings in language files : /language/en.GB

I integrated Cobalt with easysocial, but in ES timeline, new translations are not retrieved, but the default ones.

Help please.

Last Modified: 15 Jun 2015


Sergey
Total posts: 13,748
08 Jun 2015 12:54

Did you add it to override.ini file or main Joomla?


narcis VIP
Total posts: 138
09 Jun 2015 07:50

Hello,

Actually, it does not work neither in main joomla nor in override.ini. Here is my custom string :

MY_FILES_EVENT_RECORD_EDITED_PERS (MY_FILES is my key prefix that i replaced in Cobalt type).

Regards.


Sergey
Total posts: 13,748
10 Jun 2015 11:04

Did you try to add this string into Cobalt ini just to check if it will work? What is your exact string in language file?


narcis VIP
Total posts: 138
11 Jun 2015 10:50

I added strings as following :

In language/en-GB/en-GB.com_cobalt.ini :

MY_FILES_EVENT_RECORD_EDITED_PERS="[USER] edited his file <b>[TYPE]</b> named [TITLE]."
MY_FILES_EVENT_RECORD_NEW_PERS="[USER] added a new file <b>[TYPE]</b> named [TITLE]."

In language/fr-FR/fr-FR.com_cobalt.ini

MY_FILES_EVENT_RECORD_EDITED_PERS="[USER] a modifié son fichier de type <b>[TYPE]</b> intitulé [TITLE]."
MY_FILES_EVENT_RECORD_NEW_PERS="[USER] a ajouté un nouveau fichier de type <b>[TYPE]</b> intitulé [TITLE]."

Remind : I placed the strings above in section events parameters for New Article and Edit Article. And i placed key prefix MY_FILES in cobalt type parameters.

You need more details?


Sergey
Total posts: 13,748
12 Jun 2015 10:46

narcis You need more details?

Please show screenshot of section events parameters.


narcis VIP
Total posts: 138
13 Jun 2015 12:41

Please see Attachment.

Section.PNG


Sergey
Total posts: 13,748
15 Jun 2015 11:00

I've tested it locally. Everything works fine for me. I added prefix and then added language key to languages/overrides/en-GB.override.ini and I can see new translation in events list.

Please check once more you have set up everything correctly.

Powered by Cobalt