How is that possible? Can we do that too?
Maybe. I just use Google's in-device ML-Kit. It's fairly old at this point (considering the new Gemini tools) but it still works (good enough translations) and it is indeed fully local.