• Resolved mwie1409

    (@mwie1409)


    Hi Tim,

    I also have the problem that Loco Translate is not showing ANY translations.

    Permissions are shown ok, but Loco complains about e.g. “Theme has no POT file. Create one at “/languages/naturespace.pot” if you need one.”.
    POT file is definitely there!

    In fact, all permissions are set correctly on file system level and other plugins are able to read and write.

    I activated DEBUG and have been presented with two errors:
    you are using GLOB_BRACE in loco_admin.php and loco_packages.php
    GLOB_BRACE is not supported on Solaris systems – which is the exact OS my hoster is using.

    That might be the same cause as for e.g. Michaela

    Not sure if this is causing my issue. As you know your code much better, maybe it is a hint to solve the “Loco is not displaying any translations” error.

    Cheers,
    Mike

    https://www.ads-software.com/plugins/loco-translate/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Yes this will be the issue in your case. The plugin requires the GLOB_BRACE for finding files by specific extension. Without it, the plugin won’t work.

    Thread Starter mwie1409

    (@mwie1409)

    Any workaround?

    And I mean coding – not to change the provider ??

    Plugin Author Tim W

    (@timwhitlock)

    All the code that searches for files will have to be re-written. I may bear this in mind when the plugin is re-written for version 2.0, but this version will not be altered to support Solaris. I can’t offer any workaround other than rewriting the code yourself.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loco not finding any translation – GLOB_BRACE error’ is closed to new replies.