PDA

View Full Version : how to change default language?


registracijoz
08-29-2007, 11:29 PM
Hello,
I can't find how to change default language.. :/
Maybe someone knows it..

Boby
08-30-2007, 12:14 AM
If you're running phpLD 3+, edit your /include/config.php file and change the language here:
Content visible to registered users only.If still using phpLD 2, edit /include/functions.php and look in the get_tpl() function, change to your language:
Content visible to registered users only.Then translate /lang/ru.php (example here for russian)

More info:
http://www.phplinkdirectory.com/forum/showthread.php?p=11464#post11464

Boby

registracijoz
08-30-2007, 09:18 AM
Thank You! ;)

guru.cat
11-17-2007, 02:24 PM
I don't see how to define default language. From the Admin CP I can edit languages but not CHOOSE DEFAULT LANGUAGE.

In my config.php file I have the following info, anything about lang:

Content visible to registered users only.


Can anyone help? Thanks!

johnpot
01-04-2008, 05:59 PM
I´m having the same issue, cannot set default language to spanish.

markuseriksson
02-11-2008, 02:54 PM
I could not figure it out at first, but then I did this.
1. Opened my favorite FTP program (hint: mine starts with a D and ends with an r)
2. Downloaded the file config.php from the include folder
3. Opened that very file
4. Edited: define('LANGUAGE', 'en'); in that file, changing en to my language abbrivation for the corresponding language file (make sure you have one uploaded or choose an existing one)
5. Uploaded it back to the same place
6. Voila!
Try it, see it, believe it!

Goeasy
08-05-2008, 06:48 PM
I had a similar problem but was fortunate to find some one who could do it tell me what to do. And this is how to get it done.