PDA

View Full Version : About Translations...



Aldreis
Tue 18th Apr '00, 11:14am
Hello, John...

First of all, my sincere congratulations. It is indeed a fine piece of work... :)

Well, I just perused the online manual and I couldn’t deduce this one: how easy would be to totally translate vBulletin to another language? Is there anything ( UI related ) hard-coded?

[Edited by Aldreis on 04-18-2000 at 10:21 PM]

John
Tue 18th Apr '00, 11:19am
I have tried to keep everything in the templates. This means that to make a translation, you just need to make a new set of templates. There should be virtually no code editing required for making translations.

John

Aldreis
Tue 18th Apr '00, 11:25am
> There should be virtually no code editing required for making translations

At last! No more search/replace of strings scattered all over the code...:)

Thank you very much, John...

Menno
Tue 18th Apr '00, 3:57pm
Yes, the whole template driven part is great. And they edit so easily! (Online, for one) I find it much easier then editing Links2 templates, for one (again, because it can be done online ;))

Aldreis
Wed 19th Apr '00, 5:10am
> I have tried to keep everything in the templates.

Even that little “Greeting For Our Newest Member, XXX”?
I couldn’t find it on the Templates Manual.

( OK. Perhaps you should move this thread to Code Hacks... :) )

Thank you!

James
Wed 19th Apr '00, 5:24am
Aldreis,

The new member greeting language is embedded in the forumhome template. Here's the code:



Welcome to our newest member,
<a href="member.php?action=getinfo&userid=$newuserid">
$newusername</a>.


All the best,

James

Aldreis
Wed 19th Apr '00, 8:22am
Thank you very much, James!
Further questions about this topic will be posted on Code Hacks, I promise you... :D

Menno
Wed 19th Apr '00, 4:36pm
man, templates can do almost everything :)

bigsoccer tech
Wed 19th Apr '00, 11:54pm
ok...can i have five sets of the same template, one in each language (eng, por, spa, germ , ita) and then have a variable that is attached to the user id that specifies which language he wants to call?

h

Menno
Thu 20th Apr '00, 12:01am
I don't think that is an option right now, but it might be something for a future version...or a hack

John
Thu 20th Apr '00, 5:13am
Future version...already on my to do list :)

John