• Resolved Jaiji

    (@jaiji)


    I’m developing a site in English with Greek translations. I’m using GeneratePress Premium, which has an option to host Google fonts locally in a font library, and I have 2 Google fonts set up there for the site. I’m on MacOS 14.7.6, Firefox Dev Edition 141.0b8, all plugins etc. are up to date and the site is running on PHP 8.3.

    All good, except that after activating TranslatePress and doing the necessary translations, when I visit the GP font library it does not display any locally stored fonts (it actually states that no fonts are installed). The fonts are still there and all display as expected on the front end. If I deactivate TranslatePress I can see the fonts in the font library again.

    I’ve disabled all plugins except GP Premium (needed for the font library feature) and TranslatePress. The problem remains, with TP activated the fonts disappear from the font library. I’ve also tried removing all custom functions and custom CSS, and tried various versions of PHP all the way down to 7.4, still the same problem. Weirdly, if I replicate the setup on a fresh local install of WP, I cannot reproduce the issue. I’ve enabled WP debugging but no errors pertaining to this. I’ve also reinstalled TP, and tried Brave, Safari and Edge, no change.

    A similar but not directly related issue on the same site: I’m using The Ultimate Post Grid for one grid on the site. With TranslatePress activated, the admin page which lists all available created grids in a table has no content and therefore no way to edit the existing grid. The grid still works, but to be able to edit it I need to first deactivate TranslatePress.

    Could this be related to a TP setting somewhere?

    I’ve raised a ticket with GeneratePress and will raise one with WP Ultimate Post Grid. How should I proceed now? I have a clone of the site on a separate server for debugging, I’d be happy to set up a temp admin login, I’d just need to know which email address to use and I would want to supply the credentials for that privately.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    TranslatePress should not alter the back-end content at all. Make sure there is no hidden caching applied by the server. ALso, go to TP Settings –> Advanced tab –> Troubleshooting section and enable the Fix missing dynamic content option.

    Otherwise, please open a support ticket via our official support form if you haven’t already — and mention this case. In your message, you should also include:

    • A link to this conversation for full context
    • Steps to replicate the issue (e.g., where the font library becomes empty)
    Thread Starter Jaiji

    (@jaiji)

    Thanks for that. I enabled Fix missing dynamic content, no change. I’m now waiting for the GP folk to see if they can identify what’s happening. As I say, the issue is not reproduceable, so something must be corrupted somewhere, I just can’t find what that is. Very strange that enabling TP causes these issues and disabling it removes the issues. If I need further help I’ll raise a ticket on the official forum.

    Note – at present this is not resolved.

    Thread Starter Jaiji

    (@jaiji)

    I’ve worked out that the issue is to do with the order of languages in TranslatePress settings.

    The default language is English, but I had Greek dragged above it to ensure the site initially loads in Greek. Despite my user profile having English as the default language, and general WP settings set to use English, with TP settings like that (English as primary, Greek dragged above it) the html language tag for the admin pages is set to el (Greek), and this causes the admin pages for the GP font library and the WPUPG grids to not display as expected.

    Is there a way to have English as the primary language, and keep it at the top of the language list (to avoid the admin page issues), but have the site front end always initially load in Greek? (The site is on a .gr domain but is being developed in the UK).

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    What you can try is to exclude the URL paths of these pages using the Do not translate certain paths feature in TP Settings –> Advanced tab –> Exclude strings&pages section. See if that works.

    Thread Starter Jaiji

    (@jaiji)

    Thanks but that doesn’t work unfortunately. It’s strange that it’s only those 2 admin pages, neither of which have translations anyway, which have some missing elements. Also strange that even with my user profile set to use English, that the ‘el’ tag is applied to all admin pages when I put Greek as the top language. I’ve only used TP once before so am not especially familar with it.

    It’s not a huge issue in that I can just have Greek as the top language and everything works as it should on the front end, and I can just temporarily change the language order should I ever need to access the grids or fonts. It’s more that something isn’t working right and it would be good to get to the bottom of it and identify what needs to be done – is it a TP issue, or something for GeneratePress or WP Ultimate Post Grid to look at? Or have I missed a TP setting somewhere?

    I could set up a temp admin login if you’d care to have a look?

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Since this needs a further investigation, I suggest opening a ticket on our website https://translatepress.com/support/ask-a-presale-question/ and mention our discussion from here.

    Have a great day!

    Kind Regards,

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

The topic ‘Issues with GeneratePress font library’ is closed to new replies.