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.
Options

Translating "Body is Required"

edited May 2011 in Vanilla 2.0 - 2.8
Hello everyone,
I wasn't able to translate "body is required" message which wasted a day of my life. I think it is better for me to change the core file but do not know which file I need to change.
Tagged:

Comments

  • Options
    Not sure, but seems this is the one you are looking for.

    /applications/dashboard/locale/en-CA/definitions.php
    $Definition['ValidateRequired'] = '%s is required.';
  • Options
    Thank you very much... It worked perfectly.
    In order to have perfect translation
    $Definition['ValidateRequired'] = '%s is required.';
    $Definition['body'] = 'body-in-your-language';
    $Definition['Body'] = 'body-in-your-language';

Sign In or Register to comment.