collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Translation: craftclasses and !whois  (Read 3690 times)

0 Members and 2 Guests are viewing this topic.

Offline bbung

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Translation: craftclasses and !whois
« 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



Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Translation: craftclasses and !whois
« Reply #1 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

Offline bbung

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Translation: craftclasses and !whois
« Reply #2 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.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 312
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal