The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Loco Translate
Can it translate WordPress? (6 posts)

  1. ernexto
    Posted 2 years ago #

    Hello, very nice plugin!!! I've just started using it and I am very happy with it. Only a couple of questions:

    - can I use it to translate WordPress locales?
    - what happens if a plugin/theme gets updated? Translations are lost, merged or what?

    Thank you in advance!


  2. timwhitlock
    Plugin Author

    Posted 2 years ago #

    1. Assuming you mean core system translation files. It can't at the moment. Only plugins and themes for now. I started thinking about supporting core, but other things took priority.

    2. If you're translating a plugin written by somebody else, I recommend keeping your translations under wp-content/languages to avoid overwrites during upgrades. Loco will automatically use this directory if it appears that's what you're using.

  3. ernexto
    Posted 2 years ago #

    Thank you for your prompt reply! :-)

    1 - OK, as soon as this feature is ready I will definitely trash "the other localization plugin"... ;-)

    2 - thank you for the advice.

    Keep up the good work, bye!

  4. timwhitlock
    Plugin Author

    Posted 2 years ago #

    I've added experimental support for this in the current development version (which will become v1.4.5 quite soon) https://wordpress.org/plugins/loco-translate/developers/

    You have to enable the feature on the settings page, then if you have core translations available in your languages folder you should see a list of packages below themes and plugins on the main listing page.

    You'll need at least one PO file or a POT file in each namespace to see that package appear. e.g. wp-content/languages/admin-fr_FR.po

    This is experimental, because it has some difficulties in the way core translations differ from plugin and theme packages. Core translations are split across multiple PO files, although they share the same default text domain. They also have overlapping source code directories, so it's not possible (using the plugin's current library code) to extract strings from PHP source.

    Additionally the translation files are large, and the JavaScript editor needs work to make it perform better.

    Feedback welcome.

  5. ernexto
    Posted 2 years ago #

    Great! Going to test it in few days! :-)

  6. timwhitlock
    Plugin Author

    Posted 2 years ago #

    Can you let me know if I can close this issue please?

    Please note a new version has been published since this ticket was opened (1.4.6)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Loco Translate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.