Okay
  Public Ticket #242409
translate
Closed

Comments

  • Javier started the conversation

    I can't manage to get the translation to work. I made an ES_es mo and po file, also tried just leaving it with US_en files with translation. I read other posts about editing the functions file but the code they reference isn't in the file. I wanted to update my previous ticket but can't find it.

  •  321
    Brian replied

    Check out the steps in this FAQ for translating the file:

    http://industrialthemes.ticksy.com/faq/808


  • Javier replied

    I followed these steps but I used dreamweaver to edit the files, must it be the poedit program?

  •  321
    Brian replied

    Yes it needs to be poedit, that is the software that works with .po files. Dreamweaver would be used if you wanted to edit the specific PHP code within the theme files.

  • Javier replied

    This text:

    "You might also like"

    below posts. I changed it in the po file and in the the theme.php file and it still displays in English.

    "3 julio, 2014 at 1:36 pm" --> how do I edit "at"

    Thanks!


  •  321
    Brian replied

    That's because that text is actually specified in the theme options, so you can just go into the theme options directly and change that label. It's the label used for the recommended/related section.

    Where specifically on your site is it showing the date the the "at" in between? Can I see a screenshot or URL so I can tell you how to find that are in the code? Thanks.

  • Javier replied
    http://www.buscoafiliados.com/la-dieta-alcalina/

    --> look in the comments below the article next to the username.

    Thanks!

  •  321
    Brian replied

    I see now - that must have not made it into the translation file for some reason. You can change it manually in the code in the functions/theme.php file line 938:

    <a class="comment-meta" href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s',IT_TEXTDOMAIN), get_comment_date(),  get_comment_time()) ?></a>

    Notice the part where it says %1$s at %2$s