1

(9 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

Why would you want to have the admin interface in different languages?

Because I config the forum for an klient and the klient want the admininterface in german. (to my discomfort) The klient is the such pain in the a**! But the klient is the king,.. or however this phrase goes like:P

I don't think that it's a 'time consuming thing to do'. ^^ Maybe a day of replacing some lines and adding some new. The only thing that may be robs some time, is to decide what kind of language system to use. The translations can be made by each individual,... so you don't have to bother w it ;)
The code is not that blown up (my reason to take this forum) & so ya don't have to reedit hundrets of files :P

greets biophonc

2

(9 replies, posted in PunBB 1.2 discussion)

Hi there,


I'm about 95% sure, that I'll use this board for a project, but I've found out, that I have to translate the whole admin area within the php code. IMHO thats not that cool.
Well and what I wanted to know is, are there any plans for the future to use a main language file? Something like : $lang["user"] = "string"; ?

IMO it's not that server intensive to include a language config file in the admin area, because the admin is not used so much so far:)

I haven't found any post like this with the search,.. sooo.,...

The language for the admin could be integrated within the users table. Each language is an INT and is related to another table ie "language" *g* and contains an ID and varchar field. the id, is the language id and the varchar the language name. Then it would be quite easy to extend the language file like this. $lang[1]["user"] = "string"; the [1] would be the lang id. Within the code it could be like that: echo $lang[$user_lang]["user"];

Or...

the language table contains an extra field, let uz call it "lang_file"... and it contains the filename of the languagefile, that has to be included.

anyhows,..

what do you think about it?

greetz biophonc