• Hi… i’m a newby and i like this template. I installed it today and i find it very nice and works well substituting my old “magazino” theme that was not working well anymore. I’ve two things still to set up but i do not find where..
    1) I see Older Posts/Newer posts at the bottom of the grid but i do not find where to translate them. I went under /languages and i edited both pictorico.pot, it.pot and under /inc/template-tags.php but still i do not see them changed

    2) it is possible to have an auto stretch picture for the grid? my picture are all different size and i would see them well aligned (i’m a perfectionist afer all ^^)

    Thanks for the replies

    B.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Kathryn Presner

    (@zoonini)

    2) it is possible to have an auto stretch picture for the grid? my picture are all different size and i would see them well aligned (i’m a perfectionist afer all ^^)

    Make sure each post’s featured image is at least 1200px wide and 590px high. Some of your featured images are shorter than that and that’s why some of your grid images aren’t filled up completely.

    Moderator Kathryn Presner

    (@zoonini)

    I went under /languages and i edited both pictorico.pot, it.pot and under /inc/template-tags.php but still i do not see them changed

    Not quite. 🙂 To install Pictorico in Italian, you don’t need to edit the .pot file – you need to install the theme’s .mo file.

    You can download the current Italian translation of Pictorico from GlotPress here. Export the .mo file by selecting it at the bottom left:

    http://translate.wordpress.com/projects/wpcom/themes/pictorico/it/default

    It looks like some of the strings haven’t been translated yet, including “Older posts” and “Newer posts.” If you add them through GlotPress, then they’ll benefit everyone using Pictorico in Italian. You can log in with a WordPress.com username and password. (If you don’t have one yet you can sign up here: https://wordpress.com/ ) If you let me know once you’ve added the translations, I’ll make sure they get deployed, and they’ll change from yellow to green, and will be downloadable along with the other live translations.

    The best way to add a .mo file to a theme is by creating a child theme first and addint it there – that way it won’t be overwritten if your theme is updated.

    Here are some guides in case you haven’t made one before:

    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://vimeo.com/39023468

    If you don’t already have a functions.php in your child theme, create one in a text editor (not a rich-text editor like Word) and add this bit of code right at the top: <?php

    Next, add this to your child theme’s functions.php file – either the new one you just created (below the opening PHP tag) within an existing functions.php in your child theme:

    add_action( 'after_setup_theme', 'my_child_theme_setup' );
    function my_child_theme_setup() {
        load_child_theme_textdomain( 'pictorico', get_stylesheet_directory() . '/languages' );
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation Older Post – Newer Post’ is closed to new replies.