Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-04-28 15:32:37

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Per-user languages

Bloke wrote:

Poifick! The fact you are using the same pref name ‘language’ in a per-user guise is incredibly useful: a single get_pref('language') will suffice for whoever’s logged in.

Actually, no. Global prefs override private prefs, for security reasons among others. It’s just a coincidental name clash – I fixed it in 0.2.

Last edited by wet (2009-04-28 15:32:49)

Offline

#14 2009-04-28 21:07:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,448
Website GitHub

Re: Per-user languages

wet wrote:

It’s just a coincidental name clash – I fixed it in 0.2.

Dammit, wish I’d kept quiet now ;-) Thanks anyway, it’s going to come in very handy.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#15 2009-04-29 16:25:19

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Per-user languages

That is excellent, thanks Wet!

Pascal

Offline

Board footer

Powered by FluxBB