body { font-family: Arial, sans-serif; direction: rtl; text-align: center; padding: 50px; background-color: #f0f0f0; } textarea { width: 80%; height: 150px; margin-bottom: 10px; padding: 10px; font-size: 16px; resize: none; } .button-container { margin-bottom: 20px; } button { padding: 8px 16px; font-size: 16px; margin: 5px; cursor: pointer; background-color: #A61E69; color: white; border: none; border-radius: 5px; transition: 0.3s; } button:hover { opacity: 0.8; } .output-container { margin-top: 20px; } .message { display: none; margin-top: 5px; color: white; background-color: #333; padding: 5px 10px; border-radius: 5px; font-size: 14px; text-align: center; } محول العربي إلى Franco مع نسخ ولصق ومسح حول إلى Franco نسخ لصق مسح تم النسخ! تم اللصق! نسخ لصق مسح تم النسخ! تم اللصق! function convertToFranco() { const map = { 'ا':'a','ب':'b','ت':'t','ث':'th','ج':'g','ح':'7','خ':'5', 'د':'d','ذ':'dh','ر':'r','ز':'z','س':'s','ش':'sh','ص':'9', 'ض':'9\'','ط':'6','ظ':'6\'','ع':'3','غ':'gh','ف':'f','ق':'8', 'ك':'k','ل':'l','م':'m','ن':'n','ه':'h','و':'w','ي':'y', 'ء':'\'','أ':'a','إ':'i','ؤ':'w','ئ':'y','ى':'a','ة':'h', 'لا':'la',' ':' ' }; const arabicText = document.getElementById('arabicText').value; let francoText = ''; for(let i=0; i { msg.style.display = 'none'; }, 1500); } function copyText(id, msgId) { const textArea = document.getElementById(id); textArea.select(); textArea.setSelectionRange(0, 99999); // للموبايل try { document.execCommand('copy'); showMessage(msgId); } catch(err) { alert("فشل النسخ: " + err); } } function pasteText(id, msgId) { navigator.clipboard.readText().then(text => { const textArea = document.getElementById(id); textArea.value = text; showMessage(msgId); }).catch(err => { alert("فشل اللصق: " + err); }); } function clearText(id) { document.getElementById(id).value = ''; }