Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2006, 10:33 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Language variables reverted to defaults !

I just addded a couple of custom language variables to the bottom of libs/lang.conf and when i reloaded my site all of the language changes that i had made through the admin panel have reverted back to their defaults. I only added a few lines at the bottom of the file - i did not alter anything else. When i erase the lines i added the language variables on my site remain at the default.

It looks like i have no idea how lang.conf and the admin panel work together.

When i make a change in the admin panel is it modifying lang.conf?

Is there any way for me to get back the changes i made through the admin panel?

Is there any way in the future to back up the language changes i make in the admin panel?

Are we able to add custom language variables to lang.conf
Reply With Quote
  #2 (permalink)  
Old 11-10-2006, 10:47 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Can you go through the steps of how this happened? We add entries to lang.conf all the time and nothing like this ever happens. Are you sure you didn't upload the default file?

lang.conf stores all the words on a Pligg site. If you change something in modify language it changes it in lang.conf and your site will continually grab the words from lang.conf. Adding a few lines shouldn't make everything revert to their defaults unless you accidentally uploaded the default lang.conf file
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 11-10-2006, 11:08 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
I think you're right ... i must have accidently uploaded the default file.

While it's going to be a pain in the ass redoing all the language changes because of the mistake at least my site isn't live yet and the way i thought that lang.conf and the admin worked is correct.

thanks.
Reply With Quote
  #4 (permalink)  
Old 11-10-2006, 03:56 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,415
Thanks: 171
Thanked 440 Times in 279 Posts
This is a good example of why its important to always keep a site wide backup.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change language with language pack? zuperman General Help 3 11-18-2008 06:13 AM
Multi language support rvs2373 Installation and Upgrade Help 0 08-07-2008 03:15 AM
dual language pligg? click a flag to change language maybe? mmotp General Help 12 06-27-2008 10:23 PM
Edit language in admin panel = language disappears revolver General Help 4 03-21-2007 10:26 PM
topusers_center.tpl not parsing language variables gavinpov Bug Report 7 01-04-2007 06:02 AM


Search Engine Friendly URLs by vBSEO 3.2.0