Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Angular
  3. ng-extract-i18n-merge

ng-extract-i18n-merge

MITTypeScriptv3.4.0

Extends Angular CLI to improve i18n extraction and merge workflow with normalized translation files.

GitHubGitHub
222 stars26 forks0 contributors

What is ng-extract-i18n-merge?

ng-extract-i18n-merge is an Angular CLI extension that improves the extraction and merging of i18n translation files (XLIFF format) for Angular projects. It automates the process of updating target translation files when source strings change, manages translation states, and normalizes file output to ensure clean diffs. It solves the problem of manual and error-prone translation file management in Angular applications.

Target Audience

Angular developers and teams building multilingual applications who need a streamlined workflow for managing i18n translation files, particularly those using Angular's built-in i18n extraction tools.

Value Proposition

Developers choose this tool because it seamlessly integrates with Angular CLI, replacing the default extraction builder with enhanced automation for merging and normalization. Its unique selling point is the ability to keep translation files consistently formatted and easy to review, reducing manual overhead and potential errors in the i18n process.

Overview

Extract and merge i18n xliff translation files for angular projects.

Use Cases

Best For

  • Automating i18n translation file updates in Angular projects
  • Managing XLIFF translation files with clean Git diffs for code reviews
  • Streamlining the workflow for adding or removing translations across multiple locales
  • Integrating with Angular CLI's existing i18n extraction commands
  • Projects requiring consistent sorting and whitespace normalization in translation files
  • Teams collaborating with translators who need readable and well-structured XLIFF files

Not Ideal For

  • Projects using React or Vue with their own i18n libraries, as this is Angular-specific and requires Angular CLI integration.
  • Teams preferring JSON-based translation files over XLIFF formats, since it only supports xlf/xliff formats.
  • Applications relying on cloud-based translation services with automatic sync, as this tool focuses on managing local files without built-in external integrations.
  • Simple Angular projects with static, single-language content where the default Angular extraction suffices and additional configuration is unnecessary.

Pros & Cons

Pros

Automated Translation Merging

Intelligently adds new translations and removes deleted ones from target locale files while preserving translation states, reducing manual errors and effort as highlighted in the key features.

Clean Git Diffs

Normalizes translation files with whitespace collapsing and stable sorting, making diffs easy to read and review, which is core to the project's philosophy for better collaboration.

Flexible Configuration

Offers extensive options like fuzzy matching, prefix-based ID filtering, and multiple sorting strategies, allowing fine-tuned control over i18n workflows as detailed in the configuration table.

Seamless CLI Integration

Replaces Angular's default extract-i18n builder with minimal setup, enabling use of standard ng extract-i18n commands without disrupting existing workflows.

Cons

Breaking Upgrade Paths

Upgrading between major versions (e.g., v1 to v2 or v3) requires specific migration steps and changes defaults, which can break existing configurations and necessitate manual adjustments.

Configuration Complexity

With numerous options like prettyNestedTags, sort strategies, and context inclusion, setup can be overwhelming for teams seeking a simple, out-of-the-box solution.

Limited to XLIFF Formats

Only supports Angular's XLIFF-based i18n extraction (e.g., xlf, xliff2), not alternative formats like JSON, which may be preferred in modern or cross-framework projects.

Frequently Asked Questions

Quick Stats

Stars222
Forks26
Contributors0
Open Issues13
Last commit3 months ago
CreatedSince 2022

Tags

#developer-tools#angular-cli#internationalization#i18n#translation-management#localization#angular#xliff#translation

Built With

A
Angular
N
Node.js

Included in

Angular10.0k
Auto-fetched 10 hours ago

Related Projects

ngx-translatengx-translate

The internationalization (i18n) library for Angular

Stars4,662
Forks588
Last commit1 day ago
translocotransloco

🚀 😍 The internationalization (i18n) library for Angular

Stars2,276
Forks226
Last commit1 day ago
angular-l10nangular-l10n

Angular library to translate texts, dates and numbers

Stars374
Forks57
Last commit1 year ago
ngx-tolgeengx-tolgee

Tolgee JavaScript libraries monorepo

Stars260
Forks38
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub