Mystler/Plasma — comment on commit b9b06a9ced27d68f9b12b95a7978ad537158dbc4
File: Sources/Plasma/Apps/plClient/winmain.cpp line 1179
By Deledrius:

Heh, sorry to keep adding corrections. After looking into it a bit more, those changes I mentioned are probably unnecessary. Since you're already flipping through them, it's trivial to dump that static list and use the following loop instead:

```c++
for (int i = 0; i < plLocalization::GetNumLocales(); i++)
{
SendMessage(GetDlgItem(hwndDlg, IDC_LANGUAGE), CB_ADDSTRING, 0, (LPARAM)plLocalization::GetLanguageName((plLocalization::Language)i));
}
```

I always end up trying to make things too complicated. This solution looks much better than going through pfLocalizationDataMgr.