WordPress.org

Ready to get started?Download WordPress

Forums

ICS Calendar
German localization and Widget localization (1 post)

  1. florianhh
    Member
    Posted 2 years ago #

    I translated the frontend to german.

    1.Create a new directory yourblog/wp-content/plugins/wordpress-ics-importer/languages/
    2. Unzip the following file and put these or other localization files files into the new directory:
    http://wiki.attraktor.org/images/1/1f/Ics-importer.zip
    3. Add the following code into ics-import.php, this will activate the localization support:

    near line 694:

    if(!function_exists("WPICSImporter_init")) {
    		function WPICSImporter_init() {
    			if(function_exists('load_plugin_textdomain')) {
    				load_plugin_textdomain('WPICSImporter', false, dirname(plugin_basename( __FILE__ )).'/languages');
    			}
    		}
    	}

    and near line 794:
    add_action('init', 'WPICSImporter_init');
    4. For sidebar widget translation change the following strings near line 578 in ics-import.php:

    replace
    More »
    with
    '.__('More »','WPICSImporter').'
    replace
    « Previous
    with
    '.__('« Previous','WPICSImporter').'
    replace
    Next »
    with
    '.__('Next »','WPICSImporter').'

    http://wordpress.org/extend/plugins/wordpress-ics-importer/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic