Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Solved] Wrong locale $Definition breaks forum*

edited April 2012 in Vanilla 2.0 - 2.8

I was trying to modify a locale in spanish as the phrase "All Categories" was not being translated. Therefore I added this line: $Definition['All Categories'] = 'Todas las categorías';

I saved the caputred.php in the locale folded.

However when I hit refresh I got the following:

Parse error: syntax error, unexpected T_VARIABLE in /home5/labviter/public_html/becassenescyt/locales/spanish/captured.php on line 91

So therefore, I removed the line, however this broke the access to the forum completely.

I guess something was changed by a function or similar, where should I look to fix the problem?

Thanks,

Tagged:

Answers

  • Hi ricardo, please see PM from me.

    There was an error rendering this rich post.

  • Thanks,

    I was able to fix the issue by going into conf/config.php changing $Configuration['Garden']['Locale'] = 'es-ES';
    to en-CA. This allowed me to get back to the english UI. Then, I reinstalled the language localization and reenabled it.

Sign In or Register to comment.