Skip to content Skip to main menu Skip to utility menu

WPML Support

Home Forums GovIntranetters WPML Support

This topic contains 1 reply, has 1 voice, and was last updated by  Matthew Jasek 5 months, 3 weeks ago.

  • Author
    Posts
  • #3326

    Matthew Jasek
    Participant

    Has anyone had any success creating their govintra site bilingually with WPML? Most of the site seems compatible however i’m having issues with the document finder.

    It appears the way the template calls in the categories and displays ALL categories rather than the categories for sepirate languages. Weirdly the ‘Document type’ works flawlessly.

    The template i’m uing is ‘Document finder A to Z’ and the file is called ‘template-document-finder.php’ located in the ht-media-atoz plugin directory.

    if any one could share their modifications to make this work that would be fantastic!

  • #3351

    Matthew Jasek
    Participant

    I managed to get this to work with the help of a colleague.

    This is a pretty bespoke problem but essentially the category array was re-wrote with a filter applied to only display current language within the document finder page template.

    It also required the WPML Language URL format setting to be set as ‘different languages in different directory’s’

    On a side note, it appears i’ve been blocked from visiting the ‘help.govintra.net’ site with a 403 error. Is there a reason my IP has been blacklisted? I can load the site fine via VPN or on my home network.

You must be logged in to reply to this topic.