Supreme Directory – How to translate comments area at posts

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #399308

    Atilla Boz
    Full Member
    Post count: 280

    Hi friends,

    I had difficulties to translate a few strings around the comments at the bottom of blog posts.

    I found out the contents are coming from the comments.php of the directory starter theme:

    
    
    	$args = apply_filters('dt_comment_form_args', array(
    			'title_reply' => __('Schreibe einen Kommentar', 'directory-starter'),
    			'label_submit' => __('Kommentar absenden', 'directory-starter'),
    			'comment_field' => '<p class="comment-form-comment"><label for="comment">' . __('Kommentar-Text', 'directory-starter') . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    			'must_log_in' => '<p class="must-log-in">' . sprintf(__('<a href="%s">Melde dich an</a> um Kommentare zu schreiben.', 'directory-starter'), $login_url) . '</p>'
    	));
    	comment_form($args);

    So what I did is to copy the comments.php and add it to my supreme directory clone theme folder, to make it kinda update safe. Is there some smarter way to do this? Maybe an update of directory starter with those areas also being update ready?

    Thanks in advance,
    Atilla

    #399309

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    #399445

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #399526

    Atilla Boz
    Full Member
    Post count: 280

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #399603

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount