Skip to content

Compares the keys/values of a resx file in one branch with another and auto translates the diff. Result is saved to an Excel file for review which can later be imported back to the resx.

License

Notifications You must be signed in to change notification settings

MagnusBeijer/ListMissingResourceItems

Repository files navigation

ListMissingResourceItems

Compares the keys/values in a resx file with the same resx file in a remote branch and translates all new/changed values and saves the result to an Excel file for review.

source-resx-file path to the the main resx file to use as source.
remote-branch-name name of the remote branch to compare the resx file with.
target-excel-file path to the Excel file to save the result to.
translator is optional and indicates which translator to use for translations. Can be either "GoogleTranslateLite" (default and free) or GoogleMlTranslator (requires an api key put in a "GoogleAuthKey.txt")

Example:
ListMissingResourceItems.exe --source-resx-file C:\R\MyRepo\Resources\TextsIde.resx --remote-branch-name master --target-excel-file C:\temp\out.xlsx

WriteMissingResourceItems

Imports the Excel file created by ListMissingResourceItems back to the resx files.

source-excel-file path to the Excel file to use as source.
target-resx-file path to the main resx file to save the result to.

Example:
WriteMissingResourceItems.exe --target-resx-file C:\R\MyRepo\Resources\TextsIde.resx --source-excel-file C:\temp\out.xlsx

About

Compares the keys/values of a resx file in one branch with another and auto translates the diff. Result is saved to an Excel file for review which can later be imported back to the resx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages