Merge po filees

This topic contains 5 replies, has 3 voices, and was last updated by  Guust 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #271326

    milettic
    Expired Member
    Post count: 240

    i am unable to merge files with this https://wpgeodirectory.com/docs/updating-your-language-files/
    Is there some update?
    Thanks

    #271439

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    what happens exactly, do you see any errors?

    I’ve reviewed the procedure outlined there and it works fine for me with latest poedit on a win10 PC.

    Let us know,

    Thanks

    #271495

    milettic
    Expired Member
    Post count: 240

    Ok, these are my steps
    I wont to translate GD to Italian language. I also use Custom fields and wont to translate both- core and custom..
    – i downloaded Italian core translation po file
    – downoded db-language.php and created po file

    When i ope open first po file and use “Update from POT” and add second po file, poedit delete all recors from first and import only second

    #271498

    Guust
    Moderator
    Post count: 29970

    First, you have to merge db-language.php with /wp-content/plugins/geodirectory/geodirectory-languages/geodirectory-en_US.po as explained at https://wpgeodirectory.com/docs/translating-custom-fields/

    Then you update /wp-content/languages/geodirectory-it_IT.po as explained in https://wpgeodirectory.com/docs/updating-your-language-files/

    You are first adding the custom field to the Italian PO file and then you are asking to compare with the English PO file that has no custom fields, in other words you are asking the Italian file to match the English file which has no custom fields, so it deletes them.

    #272052

    milettic
    Expired Member
    Post count: 240

    It works now, thank you!

    #272255

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket