Move locale directory detection part to get_relative_path() function
Move locale directory detection part to get_relative_path() function

Jobava/mirror-pontoon,jotes/pontoon,mathjazz/pontoon,sudheesh001/pontoon,mastizada/pontoon,m8ttyB/pontoon,Jobava/mirror-pontoon,yfdyh000/pontoon,yfdyh000/pontoon,Osmose/pontoon,vivekanand1101/pontoon,vivekanand1101/pontoon,m8ttyB/pontoon,vivekanand1101/pontoon,mozilla/pontoon,yfdyh000/pontoon,mozilla/pontoon,Jobava/mirror-pontoon,mathjazz/pontoon,vivekanand1101/pontoon,jotes/pontoon,participedia/pontoon,m8ttyB/pontoon,Osmose/pontoon,Osmose/pontoon,participedia/pontoon,sudheesh001/pontoon,mozilla/pontoon,sudheesh001/pontoon,mathjazz/pontoon,participedia/pontoon,Jobava/mirror-pontoon,mozilla/pontoon,mastizada/pontoon,participedia/pontoon,mastizada/pontoon,mastizada/pontoon,mozilla/pontoon,m8ttyB/pontoon,mathjazz/pontoon,jotes/pontoon,yfdyh000/pontoon,mathjazz/pontoon,Osmose/pontoon,sudheesh001/pontoon,jotes/pontoon