Thanks for reply Rickard
I'll try to make the hack.
Do you want me to send a patch for an eventual apply in the future ?
You are not logged in. Please login or register.
PunBB Forums → Posts by riri
Pages 1
Thanks for reply Rickard
I'll try to make the hack.
Do you want me to send a patch for an eventual apply in the future ?
In fact, for now you have in order of priority:
- the user's profile language
- the default forum language
It will be:
- the user's profile language
- the default forum language
- the global site language
graue, hmm, I don't know this http header tag.
But the trick is to make punbb display localized pages, does it detect this ?
Hi,
I've a need for a web site I make for a projet. The site is organisezd as to enable multiple languages. There's a default language (french, the base lang of the project), but the user can select translated pages, its choice being saved by a cookie.
The only part I can't make rely to this scheme is the forums (punBB of course), because the forum is in a fixed default language, or a visitor has to be logged to set the language according to its profile.
I think the lack is to enable the default language by a variable (that could be assigned in template like pun_setlang($lang);
Is this feature planned, or at least, do you think this could be an interesting feature ? I can try to hack the code and propose a patch, but I'm not a good php programmer, so maybe someone else (from the punbb dev team) could do that ?
Bye
Richard
Pages 1
PunBB Forums → Posts by riri
Powered by PunBB, supported by Informer Technologies, Inc.