We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51d2a9 commit 52b065aCopy full SHA for 52b065a
source/apphelpers.pas
@@ -2756,7 +2756,7 @@ procedure InitMoFile(LangCode: String);
2756
// Initialize .mo file in the given language, so we can use that for translating via _()
2757
if LangCode.IsEmpty then
2758
LangCode := SysLanguage;
2759
- LocaleDir := GetAppDir + AppendPathDelim('locale');
+ LocaleDir := GetResourcesDir + AppendPathDelim('locale');
2760
AppLanguageMoBasePath := LocaleDir + GetApplicationName;
2761
MOFileName := '';
2762
if not LangCode.IsEmpty then begin
0 commit comments