HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
I try to translate URLs
Vanilla 3.3. I am really new to Vanilla.
I added different Vanilla functions in bootstrap.before.php
, until I found that 2 functions can be used for translating of the most of links: url()
and anchor()
.
So my plan is that I will edit these functions so, that they will translate different links to selected language.
Then I will add to Nginx config different internal
and 302
redirects.
But I found that some links are not affected - links in main menu and some in sidebar (/discussions, /activity).
Probably I need to translate them in different way. Probably it is possible to modify them somehow. Or I should do everything in complete different way.
Small feature request
Maybe it would be nice, if all showed URLs would be inserted in one function that would be modifiable.
0