BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: bbung on October 05, 2009, 11:00:46 pm

Title: Translation: craftclasses and !whois
Post by: bbung on October 05, 2009, 11:00:46 pm
Hi there,

as the multi-language support is not there yet and my gildis are not able to write there professions in english, i've desided to translate the craftclass.php. And it works. I can !setcraft and !craft returns the translated Names.

But !whois doesn't show the professions at all. Is there a spot that i missed ?

I searched the following files and translated the professionnames/craftigclasses.

modules/aoc/craftingclasses.php
core/aoc/whois.php

And the DB table values.

Thx Greetz,
Björn


Title: Re: Translation: craftclasses and !whois
Post by: Temar on October 06, 2009, 02:47:59 am
the profession field in the database has preset options, if u try to enter somit that isnt 1 of them u get blank entry for that field
Title: Re: Translation: craftclasses and !whois
Post by: bbung on October 06, 2009, 09:22:29 am
Damn, how could i've missed that. It's working now.
Damn, u r fast. Thank you!

BTW if you need a hand on that multi-lang stuff just tell me how you plan to implement it, maybe i can help typing ;) And i'll do the german translation.
SimplePortal 2.3.7 © 2008-2025, SimplePortal