# \[BUG\] Copy-paste mistake in TextLocalizationResourceGenerator.cpp

**URL:** <https://forums.unrealengine.com/t/bug-copy-paste-mistake-in-textlocalizationresourcegenerator-cpp/379702>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, editor, question, CPP\
**Created:** [December 19, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/bug-copy-paste-mistake-in-textlocalizationresourcegenerator-cpp/379702 "2016-12-19T15:04:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GigaGrunch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GigaGrunch](https://forums.unrealengine.com/u/GigaGrunch)\
**Post date:** [December 19, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/bug-copy-paste-mistake-in-textlocalizationresourcegenerator-cpp/379702/1 "2016-12-19T15:04:20Z")

</div>

This is how it is (line 208 - 222):

```
// Get manifest name.
FString ManifestName;
if (!GConfig->GetString(*SectionName, TEXT("ManifestName"), ManifestName, InConfigFilePath))
{
	UE_LOG(LogTextLocalizationResourceGenerator, Error, TEXT("No manifest name specified."));
	return false;
}

// Get manifest name.
FString ArchiveName;
if (!GConfig->GetString(*SectionName, TEXT("ArchiveName"), ManifestName, InConfigFilePath))
{
	UE_LOG(LogTextLocalizationResourceGenerator, Error, TEXT("No archive name specified."));
	return false;
}

```

In the second block it should obviously be ArchiveName instead of ManifestName **everywhere** , but was not replaced everywhere which causes the in-editor preview of localization not to work anymore.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 19, 2016, 6:30pm UTC](https://forums.unrealengine.com/t/bug-copy-paste-mistake-in-textlocalizationresourcegenerator-cpp/379702/2 "2016-12-19T18:30:08Z")

</div>

Hey GigaGrunch-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-39920)](https://issues.unrealengine.com/issue/UE-39920) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers
