I am using Joomla , I developed one website in English in (En) folder then i copied all the website to a new directory with the same links and files with (Ar) Then i change the language of the website in Ar directory but the file is still the same I need a code wich will swith the (En) directory to (Ar) and the URL not be changed For Example : [url]www.example.com/En/welcome.php[/url] When clicked the link it will convert only the En to Ar For Example: [url]www.example.com/Ar/welcome.php[/url] I need it for every page and there is alot of pages in …

Member Avatar
+0 forum 0

Dear Friends, I want to know that how can we compare two hebrew string in MySQL database? I tried and search a lot on net but still could not found the answer. My website is dealing with Hebrew(main) and English as well. So please let me know How can I compare these two languages in SQL queries. Because this problem is became headech for me now. My client is becoming engry and engry and engry..... on me. Is there any solution for this? Please help me out. I am waiting for your reply. Please do it fast as soon as …

Member Avatar
Member Avatar
+0 forum 5

Here is my try of changing integers to English written numbers. Here corrected version 3 check: [CODE]from __future__ import print_function import random,sys if sys.version_info[0]==3: raw_input=input to_19 = ["zero", "one","two","three","four","five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ] tens = ["","","twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"] denom = ["", "thousand","million", "billion", "trillion", "quadrillion", "quintillion", "sextillion", "septillion", "octillion", "nonillion", "decillion", "undecillion", "duodecillion", "tredecillion", "quattuordecillion", "sexdecillion", "septendecillion", "octodecillion", "novemdecillion", "vigintillion"] def log1000(n): " integer log1000 " res=0 while n>1: res+=1 n/=1000.0 return res def inttoeng(number): unit=log1000(number)-1 if unit>0: unit_amount,number=divmod(number,1000**unit) res=(inttoeng(unit_amount)+' '+ denom[unit]+' ') res+='and …

Member Avatar
Member Avatar
+0 forum 2

i need to create a program that translates an english phrase to a spanish phrase. i have a text file with english words and their spanish meaning. i am unsure how to start this as i am quite new to phyton. ignore the grammar, i want to translate the phrase word by word. any help will be gladly appreciated, or any links thankyou very much

Member Avatar
Member Avatar
+0 forum 2

The End.