WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Warning makepot.php Revision 25726: /trunk/tools/i18n (6 posts)

  1. fxbenard | FxB
    Member
    Posted 6 months ago #

    Hi, when i try to use the new makepot.php from http://develop.svn.wordpress.org/trunk/tools/i18n/ i got a php error :

    the php file is looking for the pomo folfer in C:\Server\sitename\wp-content/src/wp-includes/pomo/po.php'

    Wasn't it supposed to be in

    C:\Server\sitename\wp-includes/pomo/po.php

    For info i'm on windows

  2. Is this still happening on Beta2?

  3. fxbenard | FxB
    Member
    Posted 6 months ago #

    I'll check it out and let you know but it's not coming from WordPress but something coded in the makepot.php file so i guess it will not change anything

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 months ago #

    If you examine the structure of the new develop.svn layout, then the WordPress source is now indeed inside a /src folder.

    http://develop.svn.wordpress.org/trunk/

    So you need to check out the whole trunk to use the new tools properly. This may mean altering where you have your server looking for the wp files if you're using it as a "live" site.

  5. fxbenard | FxB
    Member
    Posted 6 months ago #

    Thanks Otto for the hint about the svn structure.
    I'm on a WP live install indeed, so no src folder.
    I was a bit confused cause the previous makepot.php was working on my install, that's why without any problem.

    Now i can fix it. And i'll check all the i18n folder content then cause i'm sure you used the same structure ;)

    Thanks, the subject is now closed

  6. BjornW
    Member
    Posted 1 week ago #

    I had the same issue, perhaps some kind of notice could be added to the i18n directory? A small readme to notify the user that i18n tools have a dependency in WordPress itself.

    Btw I find this dependency on core WordPress files for a supposedly standalone i18n tools rather strange and I've opened a ticket about it, see https://core.trac.wordpress.org/ticket/27696

Reply

You must log in to post.

About this Topic

Tags