Skip to main content

APP for merging xlf translation files

Project description

xlf-merge

Tool to merge XLF translation files. And it can also find dupes in XLF files.

Installation

Using PIP

pip install xlf-merge

Using package Debian/Archlinux package

Go to https://repository.salamek.cz/ to see how to setup access to my public repository, then just do:

debian

apt update && apt install xlf-merge

archlinux

pacman -Sy xlf-merge

Usage

Merging

xlf-merge merge <old_translation_file> <new_translation_file> <output_file> --method='source/id'

Merge files by source:

xlf-merge merge messages.cs.xlf.old messages.xlf messages.cs.xlf --method='source'

Merge files by id:

xlf-merge merge messages.cs.xlf.old messages.xlf messages.cs.xlf --method='id'

Finding dupes

xlf-merge dupes <file_to_check> --method='source/id/target'

Finding dupes by source:

xlf-merge dupes messages.cs.xlf --method='source'

Finding dupes by id:

xlf-merge dupes messages.cs.xlf --method='id'

Finding dupes by target:

xlf-merge dupes messages.cs.xlf --method='target'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xlf-merge-0.1.9.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file xlf-merge-0.1.9.tar.gz.

File metadata

  • Download URL: xlf-merge-0.1.9.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for xlf-merge-0.1.9.tar.gz
Algorithm Hash digest
SHA256 1de93c948a1a2b3045e0cdff0bf9baa16a33d0a8a0f74bb90d1ed2842c936388
MD5 3cd81804ffa4507e7d06527e7e301b8f
BLAKE2b-256 2de1a1a3d57e0d33b7c0093abc8c062a21c9099ebdedfe646b8c6d62a57c0ee4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page