MaKiPL/OpenVIII-monogame

Possible translation fix in FF8-Remastered.

RJesusTVD opened this issue · 1 comments

Hello.
First time reporting a issue here. Hope it can help.

This line is causing the selection of german language.

var result = OrderedByName.FirstOrDefault(x => x.Key.IndexOf(localInput, StringComparison.OrdinalIgnoreCase) > -1);

Since its using the first finding, it will always select the "lang-de" and it will not look in any other language folder. Maybe use the language indicator that is defined in Memory class and check against the localInput path.

If it can find the file in the root of the data folder, go on with it. Otherwise it should look for the file in the language related folders.

I think that's mainly an issue on remaster. The other versions only have one language installed at a time.