WordPress.org

Ready to get started?Download WordPress

Forums

012 Ps Multi Languages
English and Danisk (4 posts)

  1. IvanDK
    Member
    Posted 2 years ago #

    I try to make config for english and danish

    but I get this:
    "The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

    http://wordpress.org/extend/plugins/012-ps-multi-languages/

  2. IvanDK
    Member
    Posted 2 years ago #

    <?php
    /*
     * Description: Add Meta Box Manager Config
     * Author: Wangbin
    */
    	/*Sample 例子 サンプル*/
    	/*
    	 * Setting multilingual
    	 * マルチ言語の設定
    	 * 多国語的設定
    	 */
    	$this->multilingual = array(
    							'en' => 'English',
    							'da' => 'Danish',
    
    	);
    
    	/*
    	 * Setting multilingual code
    	 * マルチ言語コード multilingual_code.txtまで参考
    	 * 各国語言編码
    	 */
    	$this->multilingual_code = array(
    							'en' => 'en_US',
    							'da' => 'da_DK',
    	);
    
    	/*
    	 * Search Title
    	 * 検索のタイトル
    	 * 査詢的表題
    	 */
    	$this->search_multilingual_title = array(
    							'en' => 'Search Results For',
    							'da' => 'Søgeresultater for',
    	);
    
    	/* system(site) default language
    	 * システムデフォルトの言語を設定する
    	 * 系統(網站)默認的語言
    	 */
    	//$this->WPLANGKEY = 'ja';
    	define( 'MULTILINGUAL_WPLANG' , 'en' );
    
    	/*
    	 * Taxonomy management screen display language
    	 * 分类管理屏幕显示语言
    	 * タクソノミー管理画面表示する文言
    	 */
    	$this->explain_text = array(
    			'title' 			=> '<h3>Sample Title</h3>',
    			'p'					=> '<p>Sample Description</p>',
    			'taxonomy' 			=> array('category','post_tag'),
    	);
    
    	/*
    	 *The number of multi-lingual information management screen to display the list of
    	 *多语种信息管理屏幕显示列表
    	 *管理画面の一覧に表示する多国語情報の個数
    	 */
    	$this->max_count = 3 ; //一覧に多国語を表示する個数	
    
    ?>
  3. Wang Bin
    Member
    Plugin Author

    Posted 2 years ago #

  4. IvanDK
    Member
    Posted 2 years ago #

    I just show what I type to get english and danish, but it do not work, do you know what the problem can be?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.