GatherText can't find project dll

I’m trying to work out localization, and from I understand I have to run the GatherText commandlet.

When I run it, I get the following popup message:

Missing MyProject Modules
The following modules are missing or built with a different engine version:
UE4Editor-MyProject.dll
Would you like to rebuild them now?

I click yes and it fails. I compile it in Visual Studio no problem, the file exists in my Binaries\Win64 folder, build with 4.8.

I’m running it as follows in the command line:

"D:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\"UE4Editor.exe E:\Programming\C++\Unreal\MyProject\MyProject.uproject -run=GatherText -Config=Config\Localization\Game.ini -log

I have the following Config file

;Common settings to be used for all commandlets as needed.
[CommonSettings]
SourcePath=./Content/Localization/Game
DestinationPath=./Content/Localization/Game
ManifestName=Game.manifest
ArchiveName=Game.archive
ResourceName=Game.locres
PortableObjectName=Game.po
;English
SourceCulture=en
;English
CulturesToGenerate=en
;Hebrew
CulturesToGenerate=he

;Gather text from source code and configuration files.
[GatherTextStep0]
CommandletClass=GatherTextFromSource
IncludePaths=./Source/
IncludePaths=./Config/
ExcludePaths=*/Config/Localization/*
SourceFileSearchFilters=*.h
SourceFileSearchFilters=*.cpp
SourceFileSearchFilters=*.ini

;Gather text from assets in content.
[GatherTextStep1]
CommandletClass=GatherTextFromAssets
IncludePaths=./Content/
ExcludePaths=*/Content/Localization/*
PackageExtensions=*.umap
PackageExtensions=*.uasset

;Create manifest with all gathered source text.
[GatherTextStep2]
CommandletClass=GenerateGatherManifest

;Create new archives/update existing archives with new entries from the manifest.
[GatherTextStep3]
CommandletClass=GenerateGatherArchive

;Import new translations from PO (portable object) files into existing archives.
[GatherTextStep4]
CommandletClass=InternationalizationExport
bImportLoc=true

;Export new source from existing archives into PO (portable object) files.
[GatherTextStep5]
CommandletClass=InternationalizationExport
bExportLoc=true

;Compile source text and translations into binary form for use by the application.
[GatherTextStep6]
CommandletClass=GenerateTextLocalizationResource

I appreciate the comment, but in Windows your statement and mine are equivalent. I still get the error. I’ll check out the link, thanks.

I am using 4.8…that could be the issue! Let me check.
Edit: Yeah that was the problem, I was using the wrong version of unreal

Looks like you have a quote in the wrong place in your commandline.

“D:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\UE4Editor.exe” “E:\Programming\C++\Unreal\MyProject\MyProject.uproject” -run=GatherText -Config=Config\Localization\Game.ini -log


On a separate note, you might have an easier time using our new experimental Localization Dashboard.

O, I just noticed you’re using 4.7. The localization dashboard was added in 4.8.