• Resolved RonaldS

    (@norus)


    As newbee I do not understand the working of Poedit when using existing code files.
    Example: I have let developed a new plugin called mm-plugin. The last days there are several new code rows added to the plugin including text.

    Questions:
    What do I have to do when new code rows are added to an existing plugin. So I get the new text vars into all files without loss of existing text vars.

    Hope some one can help me.
    regards,
    Norus

Viewing 1 replies (of 1 total)
  • Thread Starter RonaldS

    (@norus)

    Here a solution if someone needs it:
    1) Download plugin complete plugin.
    2) Open POEdit.
    3) Go To File->Preferences->Editor-> check “Automatically compile .mo file on save” and click OK
    4) File → New catalog from POT file → Browse Plugin Folder → go to “languages” folder → If there are no files in the folder select from the lower-right “All files” option → Select the file that you want to Edit (file with PO extension)
    5) In the newly opened dialog window → go to “Sources paths” tab → in Base path enter ../ instead of .
    6) Go to Sources Keywords Tab → if there is no __ item in the list (double underscore) click on New Item → Enter __ and press Enter then OK .
    7) Select the same file as the one you opened and click Save, click Yes when asks to replace
    8) Click on Catalog (option from the top) and Update from sources → Then click OK
    9) Update the file by translating the new text
    10) When finished click on File → Save
    11) Upload the translation files (both mo and po)

Viewing 1 replies (of 1 total)
  • The topic ‘Poedit how to update .pot and .mo .po files’ is closed to new replies.