By Dreamonde Limited / Alfred Tang on Wednesday, 16 April 2014
Posted in Technical Issues
Replies 4
Likes 0
Views 609
Votes 0
Hi Team,

I have added a number of multilingual string as Application's title, everything works fine until I check out the Activity Log. Please refer to my screenshot and details listed below. I guess activity log is unable to retrieve language file for the content page.

- Filter title for Dashboard and Activity Log : OK
- Stream items in Dashboard : OK
- Badges info and title in Achievements page : OK
- Items in Activity Log : Unable to get custom string

Please advise where should I place my custom string to get it work. p.s. I tried putting in frond-end override.ini language file but still don't work; I guess the program is not picking up the string for those specific items.

Thanks.

Best regards,
Alfred / Dreamonde
I can fix the Badge-strings by putting them into the override.ini language file, but I still have no clue how to get the Application Title to work
·
Wednesday, 16 April 2014 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I am sorry for the delay of this reply.

Regarding your issue, can you try edit the file 'JOOMLA/media/com_easysocial/apps/user/badges/themes/default/logs/unlocked.php' and replace the string:


<?php echo JText::sprintf( 'APP_USER_BADGES_ACTIVITY_LOG_UNLOCKED_BADGE' , '<a href="' . $badge->getPermalink() . '">' . $badge->get( 'title' ) . '</a>' ); ?>


With the following:


<?php echo JText::sprintf( 'APP_USER_BADGES_ACTIVITY_LOG_UNLOCKED_BADGE' , '<a href="' . $badge->getPermalink() . '">' . JText::_( $badge->get( 'title' ) ) . '</a>' ); ?>


Let me know if the above work for you or not
Hope this help and have a nice day
Sam
·
Wednesday, 16 April 2014 20:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

I tried it and seems not working. I apply the code and then remove the overrides.ini string, and this is the result: (same)

Both in Activity Log
- Title translation won't work
- Badge's title translation won't work

Please advise and thanks

Best regards,
Alfred / Dreamonde
·
Wednesday, 16 April 2014 23:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Em, is your Joomla site running some cache system? If yes, can you try to clear your Joomla cache and see if the text translated?

If problem persist, can you pass me your Joomla backend admin access and your ftp account so that I can investigate your issue further.
Please advise.
Sam
·
Thursday, 17 April 2014 12:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post