private static void UpdateTermsToSitecore()
        {
            var repository = new TermsRepository();

            repository.LoadTerms();
            var contentWriter = new ContentWriter(repository);

            contentWriter.Start(new WriteScanningOptions(RootPath, TargetLanguage, SitecoreTargetLanguage, FieldTypes));
        }
        private static void SaveAllTerms()
        {
            var repository = new TermsRepository();

            repository.LoadTerms();
            var contentReader = new ContentReader(repository);

            contentReader.Start(new ScanningOptions(RootPath, TargetLanguage, FieldTypes));
        }
        private static void TranslateAllTerms()
        {
            TermTranslator termTranslator = null;

            try
            {
                var repository = new TermsRepository();
                repository.LoadTerms();
                termTranslator = new TermTranslator();
                termTranslator.Start();
                var termCoordinator = new TermCoordinator(repository, termTranslator);
                termCoordinator.Start(TargetLanguage);
            }
            finally
            {
                termTranslator?.Stop();
            }
        }