WordPress.org

Ready to get started?Download WordPress

Forums

how to localize plugin files?? (7 posts)

  1. gary711
    Member
    Posted 7 years ago #

    I am interesting in localizing wordpress plugin,but I don't know how to get plugin's pot ot po or mo files.

    How can I get the pot ot po or mo files from plugin

  2. Halibutt
    Member
    Posted 6 years ago #

    Either contact the author or prepare it yourself. The first step is to edit all php files and enclose text in appropriate tags (check here to see how's it done with themes). Then you fire up PoEdit and it creates the .po and .mo for you.

  3. Lester Chan
    Member
    Posted 6 years ago #

  4. Halibutt
    Member
    Posted 6 years ago #

    Well, that link explains what to do when you have a .pot file ready, it doesn't explain what to do when it's unavailable... or am I wrong?

  5. Lester Chan
    Member
    Posted 6 years ago #

    If the plugin outputs string using __() or _e() he can generate the pot/po file himeself using quite similar method given in the tutorial.

  6. Halibutt
    Member
    Posted 6 years ago #

    Okay, that was stupid, sorry.

  7. Lester Chan
    Member
    Posted 6 years ago #

    no one is stupid =) I also learned that along the way.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.