WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Move Comments
Japanese Translation (2 posts)

  1. kimipooh
    Member
    Posted 1 year ago #

    WordBench Osaka community team Wordbech team in Osaka, Japan translated the plugin in to Japanese.
    Have a look, hope you like it, thanx!

    - http://bakkers.gr.jp/~kitani/tools/wordpress/sources/vb-wp-move-comments-fix.zip

    vb-wp-move-comments.php
    + languages
    -- vb-wp-move-comments-ja.po
    -- vb-wp-move-comments-ja.mo

    [Changed log]

    1. Change of PHP source for activating languages files.
    * Added the following code to "vb-wp-move-comments.php".

    a. Activation code.

    add_action('init', 'vb_wp_move_comments_init'); 
    
    function vb_wp_move_comments_init(){
      load_plugin_textdomain('vb-wp-move-comments', false, basename( dirname( __FILE__ ) ) . '/languages' );
    }

    b. Translation function
    Original (for example)
    __('Comment Options')

    Changed
    __('Comment Options', 'vb-wp-move-comments')

    2. Added Japanese translation file

    [languages folder]
    vb-wp-move-comments-ja.po (source)
    vb-wp-move-comments-ja.mo

    http://wordpress.org/extend/plugins/vb-wp-move-comments/

  2. kimipooh
    Member
    Posted 1 year ago #

    Fixed 2 items.

    - http://bakkers.gr.jp/~kitani/tools/wordpress/sources/vb-wp-move-comments-fix2.zip

    1. Activation code in "vb-wp-move-comments.php"
    Change
    add_action('init', 'vb_wp_move_comments_init');
    to
    add_action('plugins_loaded', 'vb_wp_move_comments_init');

    2. Added Pot file.
    vb-wp-move-comments.pot

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.