Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Β© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

ZouhirAamrani/Translator-English---Darija-

Domain:

natural language processing

Record type:

softwaretools
Creator:
Zou
Host:
# πŸ‡²πŸ‡¦ Darija Translator - English to Moroccan Arabic Translation Service **πŸŽ₯ VidΓ©o de dΓ©monstration :** drive.google.com A complete AI-powered translation system for converting English text to Moroccan Arabic (Darija) dialect, featuring a secure REST API, web client, and Chrome extension. ## πŸ“‹ Table of Contents - Features - Architecture - Technologies - Prerequisites - Installation - Configuration - Usage - API Documentation - Security - Clients - Screenshots - Contributing - License - Contact ## ✨ Features ### REST API - βœ… RESTful web service built with JAX-RS (Jersey) - βœ… AI-powered translation using Google Gemini API - βœ… Jakarta Authentication with Basic Auth - βœ… Role-based access control (USER, ADMIN) - βœ… Password hashing with SHA-256 and salt - βœ… JSON request/response format - βœ… CORS support for cross-origin requests ### PHP Web Client - βœ… Modern, responsive user interface - βœ… Real-time character counter - βœ… Translation history with local storage - βœ… Copy to clipboard functionality - βœ… Service health monitoring - βœ… Error handling with user-friendly messages ### Chrome Extension - βœ… Manifest V3 compliance - βœ… Side Panel API integration - βœ… Context menu for selected text translation - βœ… Persistent translation history - βœ… One-click translation from toolbar - βœ… Works on any webpage ## πŸ—οΈ Architecture ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ CLIENTS β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Web Client β”‚ Chrome Extension β”‚ Postman/cURL β”‚ β”‚ (PHP) β”‚ (Manifest V3) β”‚ (API Testing) β”‚ β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ HTTP Requests with Basic Auth β”‚ β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ …

Visit

github.com

Tasks

machine translation

Languages

Arabic, Algerian SpokenArabic, Moroccan Spoken