question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make i18n extractor execution idempotent

See original GitHub issue

🚀 feature request

Relevant Package

This feature request is for @angular/localize

Description

Each time you run ng xi18n --ivy, the output changes, as the order of the trans-units is different from execution to execution.

Describe the solution you’d like

The output could be sorted (in any way) to ensure that if the source code doesn’t change, the output is always the same. This would make it easier to see the changes in the version control system, etc.

Describe alternatives you’ve considered

Meanwhile, we are ordering the resulting XLIFF by ourselves.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
petebacondarwincommented, Oct 14, 2020

I’m going to see if I can sort the messages by the file that they are in…

2reactions
petebacondarwincommented, Jan 7, 2021

Hi @acalvo - it turned out that there was a conflict in merging that PR into the patch branch. Since we are about to release 11.1.0 RC we decided that it was simplest to only merge the PR into the master branch, which means that the fix will be available in 11.1.0. Sorry about the confusion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use make i18n-extract - Mattermost Developers
This command used for localization allows you to validate that your strings have been successfully extracted from your source code.
Read more >
Internationalization for GitLab
For working with internationalization (i18n), GNU gettext is used given it's the most ... strings for Vue files is to extract them into...
Read more >
I/O Dependent Idempotence Bugs in Intermittent Systems
After a failure, execution resumes at the last checkpoint or task boundary, and the execution model ensures that any re-executed memory updates produce...
Read more >
install4j Help - Media files - ej-technologies
A media file for Windows is a native setup executable that installs your application with an installer wizard. Optionally, you can create an...
Read more >
Reference Documentation - Spring
Make a Java method execute in a database transaction without having to deal with transaction APIs. Make a local Java method a remote...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found