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.

[Documentation] Locales definition, not working

edited April 2012 in Vanilla 2.0 - 2.8

Hey All,

I have a bit of a problem here, for some reason if I add this:

$Definition["Don't have an account?"] = "Pole veel kontot?";

And this obviously gives me syntax error:
$Definition['Don't have an account?'] = 'Pole veel kontot?';

It's not changing the translation, any help ? :-)

Cheers,
Ivar

Best Answers

  • rkneschkerkneschke New
    Answer ✓

    In which file and folder did you add the quoted line?

    And you should use ' instead of "

  • 422422 MVP
    Answer ✓

    well spotted (Clicked Like)

    There was an error rendering this rich post.

  • 422422 MVP
    Answer ✓

    use the locale definitions plugin.

    http://vanillaforums.org/addon/localedeveloper-plugin

    There was an error rendering this rich post.

  • 422422 MVP
    Answer ✓

    It will save your bacon :)

    There was an error rendering this rich post.

  • UnderDogUnderDog MVP
    Answer ✓

    Ill leave this for others who might have trouble with translating stuff :)
    $Definition['Don\'t have an account? %s'] = 'Your Translation! %s';

    If you can add it to our VanillaWiki you will be my personal hero for today.

    There was an error rendering this rich post.

Answers

  • rkneschkerkneschke New
    Answer ✓

    In which file and folder did you add the quoted line?

    And you should use ' instead of "

  • 422422 MVP
    Answer ✓

    well spotted (Clicked Like)

    There was an error rendering this rich post.

  • edited April 2012

    I don't think the folder location matters, because other definitions work. (please correct me If I am wrong)

    But the file is located in applications ->vanilla->locale

    If I use ' instead of " for Don't have an account? it gives me syntax error...

  • 422422 MVP
    Answer ✓

    use the locale definitions plugin.

    http://vanillaforums.org/addon/localedeveloper-plugin

    There was an error rendering this rich post.

  • 422 said:
    use the locale definitions plugin.

    http://vanillaforums.org/addon/localedeveloper-plugin

    Thanks ;) I'll try it out :)

  • 422422 MVP
    Answer ✓

    It will save your bacon :)

    There was an error rendering this rich post.

  • Thanks. :-)

    Ill leave this for others who might have trouble with translating stuff :)

    $Definition['Don\'t have an account? %s'] = 'Your Translation! %s';

  • UnderDogUnderDog MVP
    Answer ✓

    Ill leave this for others who might have trouble with translating stuff :)
    $Definition['Don\'t have an account? %s'] = 'Your Translation! %s';

    If you can add it to our VanillaWiki you will be my personal hero for today.

    There was an error rendering this rich post.

Sign In or Register to comment.