Brijesh-Thakkar opened a new pull request, #4080: URL: https://github.com/apache/streampipes/pull/4080
Purpose This PR addresses issue #4056 by making the translation extraction process less error-prone through deterministic sorting of extracted translation keys. Currently, ngx-translate-extract merges newly extracted keys into existing translation files without guaranteeing a stable key order. This often leads to noisy diffs and merge conflicts when translation strings are added or modified. To resolve this, a small post-processing step was introduced that consistently sorts the generated translation JSON files alphabetically by key after extraction. The change does not modify any translation values or extraction behavior; it only ensures stable and reproducible output. Remarks The solution is intentionally minimal and avoids changes to the extraction logic itself. No additional dependencies were introduced. The resulting changes consist solely of key reordering; translation values remain unchanged. This improves maintainability and reduces merge conflicts when working with translation files. PR introduces (a) breaking change(s): no PR introduces (a) deprecation(s): no -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
