If Translator:Translate() doesn’t find a translation, it returns the original untranslated string in case the translation is not found.
-- can't know if the translated text was found
local TranslatedText = Translator:Translate(Context, Text)
How to know if a translation is not found?
Kolvian
(Kol)
#2
If it returns the original untranslated string, then you know that Text will be the same as TranslatedText. Therefore you could do this:
local TranslatedText = Translator:Translate(Context, Text)
if TranslatedText == Text then
--wasn't found
else
--was found
end
No, because if there is a translation registered where both words are the same (Taxi = Taxi), it won’t work.
However, I got this workaround: