Import a Translation File into MS CRM using C# SDK

The following code illustrates how to import a translation file to CRM programtically.

byte[] fileBytes = File.ReadAllBytes(@"C:\CRMTranslations\");
ImportTranslationRequest req = new ImportTranslationRequest();
req.TranslationFile = fileBytes;
ImportTranslationResponse resp = (ImportTranslationResponse)service.Execute(req);

Posted in SDK

Leave a Reply

Your email address will not be published. Required fields are marked *