UNPKG

locize-cli

Version:

locize cli to import locales

862 lines (411 loc) 21.8 kB
# locize-cli change log All notable changes to this project will be documented in this file. Project versioning adheres to [Semantic Versioning](http://semver.org/). Change log format is based on [Keep a Changelog](http://keepachangelog.com/). ## [9.0.1](https://github.com/locize/locize-cli/compare/v9.0.0...v9.0.1) - 2025-04-04 - optimize xcstrings format [106](https://github.com/locize/locize-cli/issues/106) ## [9.0.0](https://github.com/locize/locize-cli/compare/v8.7.1...v9.0.0) - 2025-04-03 - the format `yaml-rails-ns`/`yml-rails-ns` is the old `yaml-rails`/`yml-rails` - `yaml-rails`/`yml-rails` does not scope the yaml content with the namespace anymore => use `yaml-rails-ns`/`yml-rails-ns` instead ## [8.7.1](https://github.com/locize/locize-cli/compare/v8.7.0...v8.7.1) - 2025-04-02 - make generated files POSIX compliant, addresses [107](https://github.com/locize/locize-cli/issues/107) ## [8.7.0](https://github.com/locize/locize-cli/compare/v8.6.2...v8.7.0) - 2025-03-20 - intruduce xcstrings format [106](https://github.com/locize/locize-cli/issues/106) ## [8.6.2](https://github.com/locize/locize-cli/compare/v8.6.1...v8.6.2) - 2025-03-18 - fix migrate command to handle paged update ## [8.6.1](https://github.com/locize/locize-cli/compare/v8.6.0...v8.6.1) - 2025-03-11 - fix .yml yaml format variats to address [104](https://github.com/locize/locize-cli/issues/104) ## [8.6.0](https://github.com/locize/locize-cli/compare/v8.5.1...v8.6.0) - 2025-03-10 - introduce .yml yaml format variats to address [104](https://github.com/locize/locize-cli/issues/104) ## [8.5.1](https://github.com/locize/locize-cli/compare/v8.5.0...v8.5.1) - 2025-02-19 - downgrade binary generation to node v20 to try to address [103](https://github.com/locize/locize-cli/issues/103) ## [8.5.0](https://github.com/locize/locize-cli/compare/v8.4.0...v8.5.0) - 2025-02-18 - feat: add --tenants option for publish version command [102](https://github.com/locize/locize-cli/issues/102) ## [8.4.0](https://github.com/locize/locize-cli/compare/v8.3.1...v8.4.0) - 2024-12-23 - feat: add --auto-translate option for sync command [101](https://github.com/locize/locize-cli/pull/101) ## [8.3.1](https://github.com/locize/locize-cli/compare/v8.3.0...v8.3.1) - 2024-12-23 - special check for CVS (does not cleanup local language folders) ## [8.3.0](https://github.com/locize/locize-cli/compare/v8.2.0...v8.3.0) - 2024-11-25 - update some deprecated dependencies (#100) ## [8.2.0](https://github.com/locize/locize-cli/compare/v8.1.1...v8.2.0) - 2024-11-12 - introduce `--backup-deleted-path` argument (#98) ## [8.1.1](https://github.com/locize/locize-cli/compare/v8.1.0...v8.1.1) - 2024-10-29 - improve some error logs ## [8.1.0](https://github.com/locize/locize-cli/compare/v8.0.2...v8.1.0) - 2024-09-19 - introduce `--languages lng1,lng2` argument (#96) ## [8.0.2](https://github.com/locize/locize-cli/compare/v8.0.1...v8.0.2) - 2024-08-14 - update some dependencies to address #95 and #94 ## [8.0.1](https://github.com/locize/locize-cli/compare/v8.0.0...v8.0.1) - 2023-04-10 - update some dependencies to address security vulnerabilities in xlsx ## [8.0.0](https://github.com/locize/locize-cli/compare/v7.15.2...v8.0.0) - 2023-01-18 - align json format with publish format on project: To keep the same behaviour like before with default format or `json` format, now use `--format nested`. The `--format json` (the default) will now try to "guess" if a flat or a nested format should be used. ## [7.15.2](https://github.com/locize/locize-cli/compare/v7.15.1...v7.15.2) - 2023-01-06 - optimize --skip-empty false handling for download command ## [7.15.1](https://github.com/locize/locize-cli/compare/v7.15.0...v7.15.1) - 2023-12-19 - refactor retriable requests handling ## [7.15.0](https://github.com/locize/locize-cli/compare/v7.14.15...v7.15.0) - 2023-12-18 - locize sync: show publish mode advice if necessary ## [7.14.15](https://github.com/locize/locize-cli/compare/v7.14.14...v7.14.15) - 2023-12-18 - fix sync for private published translations ## [7.14.14](https://github.com/locize/locize-cli/compare/v7.14.13...v7.14.14) - 2023-11-28 - update gettext and xlsx dependencies ## [7.14.13](https://github.com/locize/locize-cli/compare/v7.14.12...v7.14.13) - 2023-11-20 - downgrade https-proxy-agent dependency ## [7.14.12](https://github.com/locize/locize-cli/compare/v7.14.11...v7.14.12) - 2023-11-15 - update some deps and optimize unflatten ## [7.14.11](https://github.com/locize/locize-cli/compare/v7.14.10...v7.14.11) - 2023-10-13 - fix laravel sync ## [7.14.10](https://github.com/locize/locize-cli/compare/v7.14.9...v7.14.10) - 2023-10-08 - fix opening of files provided with --config-path [#88](https://github.com/locize/locize-cli/pull/88) ## [7.14.9](https://github.com/locize/locize-cli/compare/v7.14.8...v7.14.9) - 2023-10-06 - update some deps and add additional logs for json parse error ## [7.14.8](https://github.com/locize/locize-cli/compare/v7.14.7...v7.14.8) - 2023-08-01 - sync: log path if passing custom path argument ## [7.14.7](https://github.com/locize/locize-cli/compare/v7.14.6...v7.14.7) - 2023-07-28 - retry on ETIMEDOUT ## [7.14.6](https://github.com/locize/locize-cli/compare/v7.14.5...v7.14.6) - 2023-05-24 - update xlsx dependency ## [7.14.5](https://github.com/locize/locize-cli/compare/v7.14.4...v7.14.5) - 2023-05-24 - update tmexchange dependency ## [7.14.4](https://github.com/locize/locize-cli/compare/v7.14.3...v7.14.4) - 2023-05-09 - sync: introduce --auto-create-path option ## [7.14.3](https://github.com/locize/locize-cli/compare/v7.14.2...v7.14.3) - 2023-05-09 - optimize unflatten algorithm ## [7.14.2](https://github.com/locize/locize-cli/compare/v7.14.1...v7.14.2) - 2023-05-09 - optimize unflatten algorithm ## [7.14.1](https://github.com/locize/locize-cli/compare/v7.14.0...v7.14.1) - 2023-03-28 - update fluent_conv to fix [#84](https://github.com/locize/locize-cli/pull/84) ## [7.14.0](https://github.com/locize/locize-cli/compare/v7.13.2...v7.14.0) - 2023-03-11 - support for .env file [#83](https://github.com/locize/locize-cli/pull/83) ## [7.13.2](https://github.com/locize/locize-cli/compare/v7.13.1...v7.13.2) - 2023-01-24 - update dependencies to fix reported vulnerabilities [#81](https://github.com/locize/locize-cli/issues/81) ## [7.13.1](https://github.com/locize/locize-cli/compare/v7.13.0...v7.13.1) - 2022-12-08 - optimize migrate command ## [7.13.0](https://github.com/locize/locize-cli/compare/v7.12.12...v7.13.0) - 2022-12-08 - migrate command will use missing route if replace param is false or not passed and will also automaticaly create languages (make sure to use an api key with admin permissions) ## [7.12.12](https://github.com/locize/locize-cli/compare/v7.12.11...v7.12.12) - 2022-11-24 - update android-string-resource dependency to fix wrong plural unescaping ## [7.12.11](https://github.com/locize/locize-cli/compare/v7.12.10...v7.12.11) - 2022-11-24 - update android-string-resource dependency to fix [#80](https://github.com/locize/locize-cli/issues/80) ## [7.12.10](https://github.com/locize/locize-cli/compare/v7.12.9...v7.12.10) - 2022-11-23 - update android-string-resource dependency to fix [#80](https://github.com/locize/locize-cli/issues/80) ## [7.12.9](https://github.com/locize/locize-cli/compare/v7.12.8...v7.12.9) - 2022-11-23 - update android-string-resource dependency to fix [#79](https://github.com/locize/locize-cli/issues/79) ## [7.12.8](https://github.com/locize/locize-cli/compare/v7.12.7...v7.12.8) - 2022-11-14 - try to fix a random error while syncing ## [7.12.7](https://github.com/locize/locize-cli/compare/v7.12.6...v7.12.7) - 2022-09-09 - fix for #75 ## [7.12.6](https://github.com/locize/locize-cli/compare/v7.12.5...v7.12.6) - 2022-08-26 - internal optimization of unpublished download workflow ## [7.12.5](https://github.com/locize/locize-cli/compare/v7.12.4...v7.12.5) - 2022-08-25 - update dependencies ## [7.12.4](https://github.com/locize/locize-cli/compare/v7.12.3...v7.12.4) - 2022-07-20 - optimize update handling - update dependencies ## [7.12.3](https://github.com/locize/locize-cli/compare/v7.12.2...v7.12.3) - 2022-07-20 - update dependencies ## [7.12.2](https://github.com/locize/locize-cli/compare/v7.12.1...v7.12.2) - 2022-07-12 - limit parallel downloads ## [7.12.1](https://github.com/locize/locize-cli/compare/v7.12.0...v7.12.1) - 2022-07-12 - limit parallel downloads ## [7.12.0](https://github.com/locize/locize-cli/compare/v7.11.0...v7.12.0) - 2022-06-16 - sync and download: introduce --unpublished flag ## [7.11.0](https://github.com/locize/locize-cli/compare/v7.10.1...v7.11.0) - 2022-06-13 - alpine build - update dependencies ## [7.10.1](https://github.com/locize/locize-cli/compare/v7.10.0...v7.10.1) - 2022-04-07 - cache dns lookups ## [7.10.0](https://github.com/locize/locize-cli/compare/v7.9.1...v7.10.0) - 2022-03-15 - gettext_i18next: try to detect v4 format ## [7.9.1](https://github.com/locize/locize-cli/compare/v7.9.0...v7.9.1) - 2022-03-02 - xliff: fix combined plural keys ## [7.9.0](https://github.com/locize/locize-cli/compare/v7.8.2...v7.9.0) - 2022-03-01 - xliff: detect i18n format and merge pluralforms if necessary ## [7.8.2](https://github.com/locize/locize-cli/compare/v7.8.1...v7.8.2) - 2022-02-28 - update dependencies ## [7.8.1](https://github.com/locize/locize-cli/compare/v7.8.0...v7.8.1) - 2022-02-10 - sync: optimize handling if pathmask does not include namespace ## [7.8.0](https://github.com/locize/locize-cli/compare/v7.7.2...v7.8.0) - 2022-01-13 - sync: introduce --delete-remote-namespace option ## [7.7.2](https://github.com/locize/locize-cli/compare/v7.7.1...v7.7.2) - 2021-12-10 - update dependencies ## [7.7.1](https://github.com/locize/locize-cli/compare/v7.7.0...v7.7.1) - 2021-12-10 - new binary build (x64) ## [7.7.0](https://github.com/locize/locize-cli/compare/v7.6.17...v7.7.0) - 2021-12-08 - sync: optimize api requests on bigger projects - retry on very short dns resolution errors ## [7.6.17](https://github.com/locize/locize-cli/compare/v7.6.16...v7.6.17) - 2021-09-21 - check skipEmpty flag when downloading translations ## [7.6.16](https://github.com/locize/locize-cli/compare/v7.6.15...v7.6.16) - 2021-09-20 - by default set also languageFolderPrefix to empty string when using programmatically ## [7.6.15](https://github.com/locize/locize-cli/compare/v7.6.14...v7.6.15) - 2021-07-23 - update some dependencies ## [7.6.14](https://github.com/locize/locize-cli/compare/v7.6.13...v7.6.14) - 2021-03-13 - update all dependencies ## [7.6.13](https://github.com/locize/locize-cli/compare/v7.6.12...v7.6.13) - 2021-02-08 - try to download non-cached version of namespaces ## [7.6.12](https://github.com/locize/locize-cli/compare/v7.6.11...v7.6.12) - 2021-02-08 - introduce optional HTTPS_PROXY environment variable ## [7.6.11](https://github.com/locize/locize-cli/compare/v7.6.10...v7.6.11) - 2021-02-08 - --get-path param for sync command ## [7.6.10](https://github.com/locize/locize-cli/compare/v7.6.9...v7.6.10) - 2021-02-05 - update fluent dependency ## [7.6.9](https://github.com/locize/locize-cli/compare/v7.6.8...v7.6.9) - 2021-01-19 - update yaml dependency and fix the handling of empty ns ## [7.6.8](https://github.com/locize/locize-cli/compare/v7.6.7...v7.6.8) - 2020-12-11 - fix edge-case in unflatten function ## [7.6.7](https://github.com/locize/locize-cli/compare/v7.6.6...v7.6.7) - 2020-09-29 - update dependencies ## [7.6.6](https://github.com/locize/locize-cli/compare/v7.6.5...v7.6.6) - 2020-08-26 - update dependencies ## [7.6.5](https://github.com/locize/locize-cli/compare/v7.6.4...v7.6.5) - 2020-07-02 - update dependencies ## [7.6.4](https://github.com/locize/locize-cli/compare/v7.6.3...v7.6.4) - 2020-06-24 - download also the referene language at the end ## [7.6.3](https://github.com/locize/locize-cli/compare/v7.6.2...v7.6.3) - 2020-06-20 - add project-id in error message for "Project not found" ## [7.6.2](https://github.com/locize/locize-cli/compare/v7.6.1...v7.6.2) - 2020-06-18 - streamline --skip-delete behaviour (optimization) ## [7.6.1](https://github.com/locize/locize-cli/compare/v7.6.0...v7.6.1) - 2020-06-18 - streamline --skip-delete behaviour - fix getting header value for last-modified ## [7.6.0](https://github.com/locize/locize-cli/compare/v7.5.2...v7.6.0) - 2020-06-09 - handle edge case for no namespace in path-mask ## [7.5.2](https://github.com/locize/locize-cli/compare/v7.5.1...v7.5.2) - 2020-06-09 - update dependencies ## [7.5.1](https://github.com/locize/locize-cli/compare/v7.5.0...v7.5.1) - 2020-06-05 - update android-string-resource dependency ## [7.5.0](https://github.com/locize/locize-cli/compare/v7.4.2...v7.5.0) - 2020-06-03 - locize save-missing command ## [7.4.2](https://github.com/locize/locize-cli/compare/v7.4.1...v7.4.2) - 2020-06-03 - update android-string-resource dependency ## [7.4.1](https://github.com/locize/locize-cli/compare/v7.4.0...v7.4.1) - 2020-06-03 - update android-string-resource dependency ## [7.4.0](https://github.com/locize/locize-cli/compare/v7.3.0...v7.4.0) - 2020-05-27 - sync: add --clean-local-files option ## [7.3.0](https://github.com/locize/locize-cli/compare/v7.2.2...v7.3.0) - 2020-05-25 - new format: yaml-nested ## [7.2.2](https://github.com/locize/locize-cli/compare/v7.2.1...v7.2.2) - 2020-05-09 - fix sync for special path-masks, when having parallel files ## [7.2.1](https://github.com/locize/locize-cli/compare/v7.2.0...v7.2.1) - 2020-05-08 - fix sync for special path-masks, when having parallel empty folders ## [7.2.0](https://github.com/locize/locize-cli/compare/v7.1.8...v7.2.0) - 2020-05-07 - using locize sync with language argument, should handle it as refLng ## [7.1.8](https://github.com/locize/locize-cli/compare/v7.1.7...v7.1.8) - 2020-05-06 - fix sync for special path-masks ## [7.1.7](https://github.com/locize/locize-cli/compare/v7.1.6...v7.1.7) - 2020-05-06 - update dependencies ## [7.1.6](https://github.com/locize/locize-cli/compare/v7.1.5...v7.1.6) - 2020-05-06 - ensure folder structure is always created ## [7.1.5](https://github.com/locize/locize-cli/compare/v7.1.4...v7.1.5) - 2020-04-30 - update dependencies - fix format command ## [7.1.4](https://github.com/locize/locize-cli/compare/v7.1.3...v7.1.4) - 2020-04-30 - update dependencies - optimized handling for android ## [7.1.3](https://github.com/locize/locize-cli/compare/v7.1.2...v7.1.3) - 2020-04-29 - update dependencies - optimized handling for android ## [7.1.2](https://github.com/locize/locize-cli/compare/v7.1.1...v7.1.2) - 2020-04-10 - add User-Agent header ## [7.1.1](https://github.com/locize/locize-cli/compare/v7.1.0...v7.1.1) - 2020-04-10 - add X-User-Agent header ## [7.1.0](https://github.com/locize/locize-cli/compare/v7.0.4...v7.1.0) - 2020-04-10 - update dependencies - added user-agent header ## [7.0.4](https://github.com/locize/locize-cli/compare/v7.0.3...v7.0.4) - 2020-04-10 - update dependencies ## [7.0.3](https://github.com/locize/locize-cli/compare/v7.0.2...v7.0.3) - 2020-02-05 - update android-string-resource dependency ## [7.0.2](https://github.com/locize/locize-cli/compare/v7.0.1...v7.0.2) - 2020-02-05 - update dependencies ## [7.0.1](https://github.com/locize/locize-cli/compare/v7.0.0...v7.0.1) - 2020-01-16 - alert if project not found ## [7.0.0](https://github.com/locize/locize-cli/compare/v6.0.8...v7.0.0) - 2020-01-06 - change default api endpoint to new api.locize.app domain ## [6.0.8](https://github.com/locize/locize-cli/compare/v6.0.7...v6.0.8) - 2019-11-07 - fix for edge case for msgctxt used with non i18next ## [6.0.7](https://github.com/locize/locize-cli/compare/v6.0.6...v6.0.7) - 2019-09-27 - try to also "import" context information ## [6.0.6](https://github.com/locize/locize-cli/compare/v6.0.5...v6.0.6) - 2019-09-26 - fallback for xliff files ## [6.0.5](https://github.com/locize/locize-cli/compare/v6.0.4...v6.0.5) - 2019-09-09 - fix file ending for strings resources ## [6.0.4](https://github.com/locize/locize-cli/compare/v6.0.3...v6.0.4) - 2019-09-09 - fix file ending for strings resources ## [6.0.3](https://github.com/locize/locize-cli/compare/v6.0.2...v6.0.3) - 2019-08-26 - locize sync: ability to handle multiple subfolders in path-mask ## [6.0.2](https://github.com/locize/locize-cli/compare/v6.0.1...v6.0.2) - 2019-08-24 - offer binaries for linux, macos and windows ## [6.0.1](https://github.com/locize/locize-cli/compare/v6.0.0...v6.0.1) - 2019-08-24 - locize sync/download: use path.sep instead of / (for windows users) ## 6.0.0 - locize sync/download: introduced --path-mask={{language}}/{{namespace}} ## 5.1.0 - locize rm: omitting the language argument will remove the key from all languages ## 5.0.0 - [BREAKING] gettext format: handle it closer to basic gettext format keeping msgid, msgid_plural when converting po -> json (locize UI) -> po - for i18next use format po_i18next or gettext_i18next (gettext, po will be focused on non i18next cases) ## 4.8.3 - gettext format: don't assume i18next -> handle just plurals for non gettext_i18next format ## 4.8.2 - locize get: ability to get multiple keys ## 4.8.1 - gettext format: check if it's i18next format ## 4.8.0 - introduce (Java-)properties format ## 4.7.9 - update dependencies ## 4.7.8 - optimize convert to yaml-rails (check if should unflatten first) ## 4.7.7 - update dependencies ## 4.7.6 - sync and migrate: ignore "Unnecessary Request" advice ## 4.7.5 - xliff: file extenstion xlf ## 4.7.4 - xliff: added a first fallback for angular format ## 4.7.3 - locize sync: optimize csv multiline handling ## 4.7.1 - locize sync: fix --skip-delete parameter #24 ## 4.7.0 - locize sync: introduce --skip-delete parameter #24 ## 4.6.3 - optimize log message for remove key - make sure download path exists ## 4.6.1 - filter namespaces based on options when reference-language-only is false (#21 #22) thanks to [Joe Holdcroft](https://github.com/joeholdcroft) ## 4.6.0 - introduce format command ## 4.5.5 - update dependencies ## 4.5.4 - locize sync: make it a bit safer #19 ## 4.5.3 - locize sync: fix edge case comparison when local key and remote key are empty ## 4.5.2 - locize sync: fix callback in case of error ## 4.5.1 - added support for nested laravel format ## 4.5.0 - introduce language and namespace argument for sync command ## 4.4.2 - update dependencies ## 4.4.1 - update dependencies ## 4.4.0 - introduce laravel format ## 4.3.4 - fix strange error handling #16 ## 4.3.3 - retry post call once on gateway timeout ## 4.3.2 - fix sync command when project/version is empty ## 4.3.1 - add possibility to download multiple namespaces in all languages ## 4.3.0 - add possibility to download only a dedicated namespace in all languages ## 4.2.3 - throttle the update requests in the sync command ## 4.2.1 - paged update for sync command ## 4.2.0 - introduce "reference-language-only" argument for sync command - introduce "compare-modification-time" argument for sync command ## 4.1.0 - looking for the config file in the current directory first ## 4.0.1 - handle edge case for fluent format - update deps ## 4.0.0 - refactoring of sync and download command - introduce tmx format - po files now get correct date values ## 3.15.0 - introduce --language-folder-prefix parameter for sync command ## 3.14.2 - catch edge case when file has no content ## 3.14.1 - ignore comments for fluent format - update deps ## 3.14.0 - support fluent format ## 3.13.4 - fix gettext format ## 3.13.3 - fix yaml-rails format ## 3.13.2 - fix yaml-rails format nesting ## 3.13.1 - fix yaml-rails format ## 3.13.0 - support yaml-rails format ## 3.12.1 - do not delete hidden folders ## 3.12.0 - introduce delete-namespace ## 3.11.0 - introduce --update-values flag for sync command ## 3.10.0 - support for private published files ## 3.9.6 - support for HTML strings for Android #4 ## 3.9.5 - fix a bug when adding and removing keys with the same sync call (keys are not added anymore to all languages) ## 3.9.4 - fix -c argument - possibility to define env vars ## 3.9.3 - fix exit code on error in bin too ## 3.9.2 - fix exit code on error ## 3.9.1 - fix return of job object ## 3.9.0 - wait for async action for copy & publish version completes ## 3.8.0 - copy version - publish version ## 3.7.3 - update dependencies ## 3.7.2 - update dependencies ## 3.7.1 - make sure we get a non-cached version of available languages request ## 3.7.0 - introduce sync command ## 3.6.0 - download resources as strings format ## 3.5.0 - download resources as gettext po format ## 3.4.3 - add defaults for download (when calling programmatically) ## 3.4.2 - update android-string-resource dependency ## 3.4.1 - ensure data is flatted for add ## 3.4.0 - add possibility to skip-empty namespaces ## 3.3.1 - sort keys for flat json export ## 3.3.0 - add additional csv format option for download ## 3.2.3 - update android-string-resource dependency ## 3.2.2 - update xliff dependency ## 3.2.1 - optimize error message handling ## 3.2.0 - migrate has a new option --replace ## 3.1.0 - download resources in different formats (json, flat, xliff2, xliff12, android) ## 3.0.1 - fixes path cleaning for non linux systems ## 3.0.0 - download now does not provide projectId and version (if called with version param) - so downloaded structure is more useful to i18next - download now appends fileextension .json to the json files ## 1+2.x.x - initial versions