I have made a very stupid mistake:

I installed the .po for another language and set that langauge as default (instead of English) even though I did not install/configure all the prerequisites. Now, each time I try to access my website, it goes into an endless loop and I can no longer access its configuration panels.

How can I reset the default language back to English? Is there any file to configure or database entry to change?

Appreciate any help you can give.
Thanks!

Comments

kristen pol’s picture

Maybe you have already resolved, but...

If you have overridden the language default, it should be in the variable table.

select * from variable where name='language_default';

To delete it, first backup your database in case you make a mistake and then run:

delete from variable where name='language_default';

Good luck,
Kristen

-Kristen
Profile: https://www.linkedin.com/in/kristenpol
Drupal 7 Multilingual Sites: http://kristen.org/book