DEV Community

Nivaas V
Nivaas V

Posted on

LocalMenuTranslator 🍽️ — AI-Powered Restaurant Menu Translation

💡 The Problem

Restaurant menus can be difficult to understand when they are written in a language you don't know. This can be a frustrating experience for travelers, students, and local customers.

🚀 What I Built

LocalMenuTranslator is a browser-based web application that uses an AI translation model to translate restaurant menu text into Tamil, English, and Hindi.

Features

AI-powered menu text translation

Tamil, English, and Hindi language options

Simple web interface

Open-source AI model integration

🛠️ Tech Stack

JavaScript

Vite

Hugging Face Transformers.js

NLLB-200 translation model

🔗 Project Links

GitHub Repository: https://github.com/nivaas219/LocalMenuTranslator

Demo Video: N/A

🌱 Why Open-Source AI Matters

Open-source AI makes it possible for developers to experiment, inspect their tools, and adapt models to specific needs without depending entirely on a proprietary AI API. For a small restaurant, a menu translation tool could help customers understand dishes more easily and potentially improve the dining experience.

This project is an early prototype. The current version requires internet access to obtain model files when they are not cached. Before commercial deployment, the model's license and hosting requirements would need to be reviewed.

📚 What I Learned

Building this project helped me learn how to integrate an AI translation model into a JavaScript application, troubleshoot model-loading errors, and publish an open-source project.

I'd love to hear suggestions for improving it!

Top comments (0)