1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Phrase Diff Tool

Discussion in 'Development Tutorials [Archive]' started by Indigo, Dec 17, 2010.

  1. Indigo

    Indigo Active Member

    I wrote a small tool to grab the list of added/updated/deleted phrases between two "phrases.xml" files from installation data. It's command-line only right now.

    Example usage is:
    php xfPhraseDiff.php beta4-phrases.xml beta5-phrases.xml

    Which, if ran with the actual beta4/beta5 phrases.xml, files gives you 84 added phrases, 18 updated phrases, and 1 deleted phrase.

    Attached Files:

    Vincent likes this.
  2. Vincent

    Vincent Well-Known Member

  3. Allan

    Allan Well-Known Member

    Nice but no possible without command-line because it's no easy ?
  4. ragtek

    ragtek Guest

    why it's not easy?
  5. Indigo

    Indigo Active Member

    It wouldn't be *that* much harder to make it executable via the browser, but it was much faster to write as a command line script.
  6. Indigo

    Indigo Active Member

  7. ragtek

    ragtek Guest

    Hm i tried it, but i prefer winMerge for this
    It shows me much more ( also all the file diff's^^)
  8. Indigo

    Indigo Active Member

    I understand that general diff tools would work, but I think this gives more concise output, and would be easier for most people to read.
  9. Jaxel

    Jaxel Well-Known Member

    I think WinMerge is terrible... try BeyondCompare3

Share This Page