ryanhowdy / fcms

Family Connections - Create a private family website.
http://www.familycms.com
GNU General Public License v2.0
84 stars 41 forks source link

Via Tender: Language problem. #559

Closed ryanhowdy closed 6 years ago

ryanhowdy commented 6 years ago

Assigned to Problems, Issues and Bugs #17478. As reported in Tender:

If I setup default language in fcms.php in getLanguage language it works for all pages but those with gallery works not. Those pages has english translation. The problem is that you call this function within gallery class. I.E If I call gallery class from /gallery/index.php I can se website in desired language, because path is correct. But when hit some page which is in root directory ie. home.php and which also call gallery class those line is setting up wrong path value so all page is in english :/