WordPress.org

Ready to get started?Download WordPress

Forums

CommentPress Core
[resolved] translation support (9 posts)

  1. syrinx87
    Member
    Posted 11 months ago #

    Hi,

    I have some problems with translation. For example I don't find the "0 comments on" in the right sidebar. "paragraph" and "the whole page" are in the pot file but "comments" no…

    http://wordpress.org/plugins/commentpress-core/

  2. syrinx87
    Member
    Posted 11 months ago #

    some strings are missing in the activity_sidebar.php

    like this one :
    <h3 class="activity_heading">Who's Online</h3>

  3. syrinx87
    Member
    Posted 11 months ago #

    it line 2801 on functions.php

    // set block identifier
    						$block_name = __( 'paragraph', 'commentpress-core' );
    
    					}
    
    					// set paragraph text
    					$paragraph_text = $block_name.' '.$para_num;
    
    					// set permalink text
    					$permalink_text = __('Permalink for comments on ', 'commentpress-core' ).$paragraph_text;
    
    					// define heading text
    					$heading_text = sprintf( _n(
    
    						// singular
    						'<span class="cp_comment_num">%d</span> <span class="cp_comment_word"><strong>Comment</span> on</strong> ', 
    
    						// plural
    						'<span class="cp_comment_num">%d</span> <span class="cp_comment_word">Commentaires</span> pour ', 
    
    						// number

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  4. syrinx87
    Member
    Posted 11 months ago #

    same things for the line 2696

  5. Christian Wach
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks for the report, @syrinx87. I will make sure the strings you point out are translatable in the next update.

  6. Christian Wach
    Member
    Plugin Author

    Posted 10 months ago #

    Okay, I've fixed those strings in the latest code on GitHub. They'll be included in the next WP repo release, but in the meantime you can grab the code from:

    https://github.com/IFBook/commentpress-core

    I'm afraid there are sections of the code that are less than ideally constructed for translation, due to my limited knowledge of the process. Please let me know if you find anything else and I'll do my best to help. Won't mark as resolved so you can post further issues in this thread.

    Cheers, Christian

  7. Christian Wach
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry, marked as resolved by accident!

  8. Christian Wach
    Member
    Plugin Author

    Posted 10 months ago #

    Hi syrinx87, I mentioned this on another thread, but are you also aware that the .pot file included with the plugin is out of date? The 3.5 file can be found here on GitHub.

  9. syrinx87
    Member
    Posted 10 months ago #

    Hi Needle !
    Thanks
    I'm new to github but I'll take a look at the files…

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.