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
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
Tagged:
0
Best Answers
-
rkneschke New
In which file and folder did you add the quoted line?
And you should use ' instead of "
3 -
UnderDog MVP
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.
0
Answers
In which file and folder did you add the quoted line?
And you should use ' instead of "
well spotted (Clicked Like)
There was an error rendering this rich post.
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...
use the locale definitions plugin.
http://vanillaforums.org/addon/localedeveloper-plugin
There was an error rendering this rich post.
Thanks I'll try it out
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';
If you can add it to our VanillaWiki you will be my personal hero for today.
There was an error rendering this rich post.