Evolution Config Change\Edit

Hi,

I'm in need of a point in the right direction.

I've found a bug in the Telligent version we are currently using and found what needs to be done to fix it. Unfortunately I'm having difficult in finding where I need to implemented the fix.

The issue is the 'time ago' label on comments etc is wrong. For anything posted '1 day ago', the label says '1 days ago'.

In the initial page document that gets downloaded, there is a section at the top of the html header with jQuery.telligent.evolution.site.configure. I need to change one of the keys in the object being passed.

Where in Telligent do I go to edit this?

Telligent version 10.0.2.5303

Parents
  • Filed a bug to address the problem.

    TE-9291: LP - Notifications 'days ago' is not localized in all languages.

    Completed for 10.1.0.7092

    In the mean time, you can override these values by creating the following JavaScript file and adding it to your theme.  Note this will only work on a single language site.  If you support multiple languages, the same could be achieved with a custom widget added to your footer that outputs the JavaScript with strings based on the current user's language.

    jQuery(document).ready(	function($){
    	
    	jQuery.telligent.evolution.site.configure({		
    		dateDayAgoFormat:'{0} day ago',
    		dateDaysAgoFormat:'{0} days ago'
    	});
    })(jQuery);
    
    

Reply
  • Filed a bug to address the problem.

    TE-9291: LP - Notifications 'days ago' is not localized in all languages.

    Completed for 10.1.0.7092

    In the mean time, you can override these values by creating the following JavaScript file and adding it to your theme.  Note this will only work on a single language site.  If you support multiple languages, the same could be achieved with a custom widget added to your footer that outputs the JavaScript with strings based on the current user's language.

    jQuery(document).ready(	function($){
    	
    	jQuery.telligent.evolution.site.configure({		
    		dateDayAgoFormat:'{0} day ago',
    		dateDaysAgoFormat:'{0} days ago'
    	});
    })(jQuery);
    
    

Children
No Data