Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Some language bugs
These should probably go to the wiki, but I'm posting them here first for reference. Maybe other's can add their own here as well. I translated Vanilla into Estonian and here are the bugs I've noticed so far:
- Though the entry $Context->Dictionary["Applicant"] is translated, the URL that's used for finding new applicants is not. It took me a while to figure out that I had to change the word "Applicant" in ".../search.php?PostBackAction=Search&Type=Users&Keywords=roles:Applicant;sort:Date;" to the translated word to find the new applicants.
- When viewing other users' accounts as an administrator, in the phrase "someone's account options" the suffix -'s after the username seems to be hard-coded. I wish it weren't.
- The phrase for "AssignToRole" (at .../account.php?PostBackAction=Role&u=####) does not seem to be in the dictionary.
- The phrase "Terms of Service" has a different case and is therefore spelt differently when it is in the sentence "I have read and agree to the ....." and when it is by itself in the footer of the forum. If it does not over-complicate things, maybe there could be different dictionary entries for this?
- The word "new" also has different cases when it is in the context of "number of NEW comments: 123" (as is the case in the discussion listings) and "123 NEW members" (as is the case with "Membership applicants" in the control panel), so maybe these could be separate entries in the dictionary as well?
- This is one that might not have a good solution, but when I name a category in singular form and look at its discussion list, the phrase "CategoryName Discussions" is not grammatically correct in Estonian (i.e. "General" -> "Ãœldine"; "General Discussions" -> "Ãœldised arutelud": notice how the word changes?). Actually, come to think of it, if the word "Discussions" was singular, it would be correct... That's another entry that could perhaps be separated.
0
This discussion has been closed.
Comments
http://www.gnu.org/software/gettext/
There's a couple of basic exampes in the php manual comments here: http://www.php.net/manual/en/ref.gettext.php