You are not logged in.
Pages: 1
In i18nAddLanguageItems function LanguageAbrToIndex gets filename with extention (en.msg, ru.msg)
function LanguageAbrToIndex(const value: RawUTF8): TLanguages;
// LanguageAbrToIndex('GR')=1
begin
if length(value)=2 then
result := LanguageAbrToIndex(pointer(Value)) else
result := LANGUAGE_NONE;
end;
So we always get LANGUAGE_NONE
Offline
Online
Pages: 1