Support » Plugin: 012 Ps Multi Languages » [Plugin: 012 Ps Multi Languages] English and Danisk

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?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 ; //一覧に多国語を表示する個数	
    
    ?>
    Plugin Author Wang Bin

    (@ouhinit)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: 012 Ps Multi Languages] English and Danisk’ is closed to new replies.