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.5.tar.gz (18.2 kB view hashes)

Uploaded Source

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