| Author |  | 
      
        | yeganeh1990 Newbie
 
  
  
 Joined: 30 October 2011
 Location: Iran
 Online Status: Offline
 Posts: 1
 | 
          Hi!
           | Posted: 30 October 2011 at 12:27pm | IP Logged |   |  
           | 
 |  
 I Added Farsi.php Lang Into Lang Folder But Can't RTL The Page Like Arabic
 
 Please Give Me Update Or Learn TO FIX
 
 Please Help
 
 Thanks For Your Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You'll need to update one line of the code - file js/common/functions.js, line ~590:
           | Posted: 31 October 2011 at 1:59am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | function isRtlLanguage(langName) { return (langName == 'Hebrew' || langName == 'Arabic');
 }
 |  |  |  
 As you can see, the function defines whether it's right-to-left language based on its name, you just need to add the name matching the language file you created.
 
 Hope this helps!
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |