Archive

Posts Tagged ‘[Content_Types].xml and CrmTranslations.xml’

“Translations file is invalid” error while importing translations in CRM 2011

March 17, 2012 2 comments

Hi,

The other day, When I tried to import Translations (i.e., RajTranslations.zip folder with ‘Content_Types.xml & CrmTranslations.xml’ files), I was getting below exception

Translations file is invalid. The compressed file must contain the following files in your root “[Content_Types].xml” and “CrmTranslations.xml”

Reason:-

  • The reason for this error was I zipped the “RajTranslations” folder, after I modified the “CrmTranslations.xml” file in it.
  • When I zip the folder it creates a “RajTranslations.zip”  file with “RajTranslations” folder at root and 2 files ‘Content_Types.xml’ & ‘CrmTranslations.xml’
  • So, when you import the .zip file, CRM does not find the files at root since the root was folder

Fix :-

  • You just need to select the two files and zip them rather than zip the folder.
Select the files and zip

Select the files and zip

Hope it helps 🙂