Gallery-site with only two languages-sidebar
parkiet
Joined: 2006-03-16
Posts: 22 |
Posted: Wed, 2007-05-23 10:24 |
Want only two languages: I have a website in two languages: Dutch and English. I have checked browser language preference in the admin page and set basic language to Dutch. When I set my browser language to a language other than Dutch or English, it uses the other language in the side bar, but the texts in on the album-pages stays Dutch. This also happens when I set the basic language in the admin to English. I have translated album titles in English (UK and US as well)in the album-settings. Possibly this is because I am using a Dutch version of Windows XP or something alike. I cannot control this myself. What I really want is to turn my gallery to English only if the browser language is not Dutch. Is this possible and how do I fix this? My website is : http://www.fotomaritiem.nl Kind regards, BS |
|
Posts: 32509
you'll need to edit a php file to accomplish this.
we plan to offer a nice GUI feature for G2.3 though.
edit modules/core/classes/GalleryTranslator.class
there's an array of all languages. you'll need to delete all entries but the dutch / english (US) ones.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
Thank you, Valiant, for your quick response. I'll go and see if I can handle this.
BS
Posts: 22
Tried en succeeded. So, this problem is solved.
Thanks for your help,
BS