UE-BYGLocalization icon indicating copy to clipboard operation
UE-BYGLocalization copied to clipboard

Fixes a path issue with when the loc module loads

Open jeremymccarty-mw opened this issue 3 years ago • 0 comments

If you change the Primary Localization Directory path using the editor drop down, it will append /Game/* to the front. So for the stats window, that is expected as it gives us /Game//loc_en.csv. However, when loading in the string table, it will also use that path resulting in /Content//Game//loc_en.csv. This fix removes any project paths from the file name because Internal_LocTableFromFile factors the project path in.

jeremymccarty-mw avatar Jul 26 '21 16:07 jeremymccarty-mw