Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-03-02 10:19:57

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,314
Website

Language choice by authors into the "Authors" page.

@Devs

What do you think about this new feature for the current TXP 4.6 branch?

Choosing the language by authors within the “Authors page” for the Textpattern interface (aka wet_native but with a much better support).


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2016-03-02 10:49:24

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Language choice by authors into the "Authors" page.

Pat64 wrote #298104:

Choosing the language by authors within the “Authors page” for the Textpattern interface (aka wet_native but with a much better support).

I’d love it, but probably not this close to a 4.6 release. Unless someone thinks it can be shoehorned in very quickly. It’s not a massive undertaking, after all.

With my anti-project-creep hat on, I think this makes sense to include as we move towards a more multi-lingual Textpattern experience out of the box, which is slated for a version or three’s time.

In tandem with this and a few table changes to allow multi-lingual content to be stored, I’m considering a new callback in load_lang() which would allow plugins to alter language strings far more simply than today.


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

Offline

#3 2016-03-02 11:43:35

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,314
Website

Re: Language choice by authors into the "Authors" page.

I just sent a donation to Mister Blocke because I love its answer (and to motivate him).

http://stefdawson.com/images/Mugs/128.jpg

;)

Last edited by Pat64 (2016-03-02 11:47:41)


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#4 2016-03-02 12:14:07

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Language choice by authors into the "Authors" page.

Pat64 wrote #298107:

I just sent a donation to Mister Blocke because I love its answer (and to motivate him).

Motivation received with thanks :-)

We should probably raise this as an enhancement Issue on GitHub so it remains on our radar. The whole multi-lingual thing could do with its own Issue, with a list of things to check off as we move towards completion of the feature.


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

Offline

#5 2016-03-03 09:27:29

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Language choice by authors into the "Authors" page.

Just in case you missed it: wet_native already allow users to choose an admin-side langage under the Authors tab.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#6 2016-03-03 11:25:02

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Re: Language choice by authors into the "Authors" page.

I’ve opened an issue to track this on GitHub for you.

Offline

#7 2016-03-08 17:55:41

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,314
Website

Re: Language choice by authors into the "Authors" page.

;)
Thank you Phil.


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#8 2016-11-26 01:52:45

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Language choice by authors into the "Authors" page.

Part one of this is done so wet_native is no longer required. Note that it’s not implemented on the Authors panel (as per the request), but on the Admin->Languages panel so that users may freely choose their own admin-side language. Currently, they have gained the ability to upload Textpacks, which permits overriding language strings. This will probably be revisited in the coming weeks, because it should be an administrator-only task.

Until the panel layout is improved, the Show details toggle isn’t much use to non-privileged users. That will also be addressed soon.

Finally, for sites with only a single language installed, we may elect to hide the entire Languages menu/panel from non-privileged users. This may require some alterations to the way we build menus, so this will be deferred to a later date.

Last edited by Bloke (2016-11-26 01:54:35)


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

Offline

#9 2016-11-26 05:54:41

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,314
Website

Re: Language choice by authors into the "Authors" page.

Thank you lot, Steff.

I started to play with and all is perfect ;)


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#10 2016-11-26 07:31:35

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,718
Website

Re: Language choice by authors into the "Authors" page.

Great so far ! One plugin less, more flexibility to the various users.

Bloke wrote #303001:

Currently, they have gained the ability to upload Textpacks, which permits overriding language strings. This will probably be revisited in the coming weeks, because it should be an administrator-only task.

That seriously scares me (as an administrator). Only an admin should be able to do that (or at maximum Publisher and Managing Editor).

Offline

Board footer

Powered by FluxBB