You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a) Currently npm run translate writes translated text records into the target files only if the corresponding record does not exist there.
npm run translate should keep a record of the source file (i18n/en/translate,json) and hence detect if a text has been changed. In this case the target records should be replaced with the new translations too. Note: npm run traslate MUST NOT write the full target file if no change in source json is detected as this would override manual corrections.
b) at least optionally npm translate should remove outdated record from the target files. Outdated records should be defined as records no longer exist in source file.
The text was updated successfully, but these errors were encountered:
mcm1957
changed the title
[FEATURE] translate should update target if source record ic changed
[FEATURE] translate should update target if source record is changed
Apr 21, 2022
Please consider WEBLATE integration when adapting anything in this area. Maybe weblate should leave some marker to contraol behavior of trabslate script - or vice versa.
a) Currently npm run translate writes translated text records into the target files only if the corresponding record does not exist there.
npm run translate should keep a record of the source file (i18n/en/translate,json) and hence detect if a text has been changed. In this case the target records should be replaced with the new translations too. Note: npm run traslate MUST NOT write the full target file if no change in source json is detected as this would override manual corrections.
b) at least optionally npm translate should remove outdated record from the target files. Outdated records should be defined as records no longer exist in source file.
The text was updated successfully, but these errors were encountered: