EPiWiki.se  - EPiServer notes shared with others
 

LanguageFilesValidator

[Edit]
LanguageFilesValidator.exe is a tool to validate EPiServer language files, and detects the following
- If a translation is missed for a language.
- If a translation overwrites another transaltion

Download


LanguageFilesValidator.exe

Usage


Open a command prompt and change directory to your lang/ folder you want to investigate
Run the command:
LanguageFilesValidator.exe [language ids to validate]

Example



C:\EPiServer\Sites\Test\lang>C:\LanguageFilesValidator.exe sv en

Output:

C:\EPiServer\Sites\Test\lang\contentChannelText.xml
...
C:\EPiServer\Sites\Test\lang\lang_DA.xml
Warning: /pagetypes/common/property@SubscriptionMailBody/caption exists in several places for language da in the files: C:\EPiServer\Sites\Test\lang\languageDA.xml
...
Error: Missing translation for '/admin/secedit/info' for lang id sv (found for language en C:\EPiServer\Sites\Test\lang\languageEN.xml))
Version author:
Mattias Lövström

EPiServer version

All