WordPress.org

Ready to get started?Download WordPress

Forums

Loco Translate
[resolved] Not detecting languages files in WPLANGDIR (6 posts)

  1. samuel.hautcoeur
    Member
    Posted 10 months ago #

    Hi,

    Great plugin - we're really thrilled by the simplicity of it. It just works... Mostly.

    My bbPress languages files are in /wp-content/languages/bbpress/, and are not detected by Loco Translate. It works when they're in the plugin directory, but then I'd loose them at the next update.

    Is there any chance I could hack my way around this?

    Thanks!

    http://wordpress.org/plugins/loco-translate/

  2. timwhitlock
    Member
    Plugin Author

    Posted 10 months ago #

    Currently Loco Translate only looks for packages that are either plugins or themes. This means that core language files - such as yours - are not observed.

    I'll consider this a feature request and see about including other common directories in future releases.

    For now, my only suggestion would be to make a dummy plugin and symlink your language files into it.

  3. samuel.hautcoeur
    Member
    Posted 10 months ago #

    Sounds good - thanks. A backup/restore feature could also be useful.

    I'll def. buy you a beer if that makes it into the plugin :-)

  4. timwhitlock
    Member
    Plugin Author

    Posted 7 months ago #

    Hello.
    I'm looking at this WP_LANG_DIR issue now, but slightly confused about bbPress. I downloaded it and it appears like a plugin with a languages directory of its own.

    Which distribution are you using that has its translations in the global languages folder?

  5. timwhitlock
    Member
    Plugin Author

    Posted 7 months ago #

    I've worked out what you mean now.

    The current development version 1.3 has support for this now. It should be published live shortly.

  6. timwhitlock
    Member
    Plugin Author

    Posted 6 months ago #

    Current development version (1.4.2) has a basic backup feature added. No restore though.

Reply

You must log in to post.

About this Plugin

About this Topic