Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter xenolith5

    (@xenolith5)

    Thanks for reply Richard. I missed your message so sorry not to get back sooner.
    As I don’t use WMPL (I use Polylang) is there a way for the Ai1EC to appear on two different pages. In the plugin options it asks for the page for the Calendar to be placed on.
    If pointed in the right direction I’ll be ok with a bit of coding changes.
    The reason I ask is that if I put it into one of my Welsh language pages then it translates ok but this means when I change to the English page (different page id) the page is blank (i.e. no calendar). I would expect this but if I can place two instances of the calendar on two different pages then I should get around the problem.

    Thanks

    Thread Starter xenolith5

    (@xenolith5)

    Thanks for links and help keesiemeijer and dwnfred.

    I’ve found that if I replace the code above to:
    <?php next_posts_link( __( 'Next Page &raquo;', 'themater') );?>
    then the translation works.
    Unfortunatley the codestyling-localization doesn’t have the Welsh Language file and for some reason doesn’t detect it in my Theme.
    The last problem I have now is that the Welsh po/mo file does not have the string ‘Older posts’ or ‘Newer posts’ so I can’t translate to what I want.
    It will have to be ‘Next page >>’ / ‘Tudalen Nesaf >>’ for now!!

    Thanks again

    Thread Starter xenolith5

    (@xenolith5)

    Hi dwnfred thanks for reply. I found where the code is and it reads this:

    <?php next_posts_link( __( '<span>&laquo;</span> Older Posts', 'themater' ) );?>

    I’ve changed ‘Older Posts’ to ‘Archive’ and this displays on both the English and Welsh language pages.

    I thought the ‘__’ at the start of __( '<span>&laquo;</span> Archives', 'themater' ) );?>
    would cause ‘<< Archives’ to be translated to ‘<< Archif’. Archives already translates to ‘Archif’ (Welsh)elswhere on the site ok.
    What does the option ‘themater’ do?

    Thanks

    Thread Starter xenolith5

    (@xenolith5)

    Esmi, sorry not to reply sooner!! Thanks for reply I’m about to have a look at polylang. Have you used it before as I may need some guidance?

Viewing 4 replies - 1 through 4 (of 4 total)