Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2016-11-27 09:26:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,485
Website GitHub

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

phiw13 wrote #303010:

a grid, with the installed languages at the top.

I like the look of that. Clear status of each language. Clear calls to action. And it’s fairly easy to find uninstalled languages (I think I was just tired when I looked the other day, or had forgotten my alphabet or something), and is a good use of space. Great stuff.

it is kinda friendly to show the list of installed languages… A user with low privileges might not be able to install the language, but, knowing it exist, might then check with the admin on duty to install it.

That’s a good point. Assuming we adopt some version of your grid-based view above, non-privileged users would see an identical layout, but simply omitting the buttons. Even having the status line and last update date is handy info because, as you say, an astute user can nudge an admin to take action.

One slight wrinkle is that, under the “bundle language packs in core” model we’re planning, the notion of ‘update available’ is thorny. Without using the RPC server or some other machine-readable index, client sites won’t actually know there’s an update available. The only time the interface knows will be if the admin has downloaded a new pack, dropped it in the lang directory, and the file’s last mod indicator (either the file date stamp itself, or — more likely — some version/date string on the first line as we have now) is different from what’s in the database.

Phil is intending to maintain a (live? live-ish?) translation page on the .com site. I’ve misplaced the link to the mockup. That will serve as:

  • an advertisement: “look how many languages Textpattern is available in”.
  • a record of the current translation effort as a natty progress bar/percentage indicator: “your language is under-represented, please help make it better”.
  • a place to download packs so they can be uploaded to your site and then installed from the Languages panel. Presumably, some kind of freshness indicator on the site would be prudent here.

If we receive a glut of translations at any time between releases, we’ll issue a point release so that translations are automatically rolled into core for those that upgrade. In the (smaller) time interval between releases, the packs will be manually downloadable/installable by admins.

Now, there’s nothing to stop us adding a link on the Languages panel to that page so anyone can see the current status. Might as well make it easy for any user to see the current status (though quite where we’d put that on the Languages panel is unclear to me). Regardless, the only planned difference to the current system is that you won’t see an ‘update available’ message or ‘update’ button unless the Textpack file is different. And that’s proposed as a manual process from now on, rather than a ‘ping some server to find out’ thing.

None of this changes the way the panel is laid out, or how calls to action are offered, it’s just a subtle shift in approach to avoid reliance on (or overloading) some third party site.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#17 2016-12-02 09:05:40

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

Bloke wrote #303008:

The more I look at it, the more I’m beginning to agree (sorry, Phil!)

What Stef says.

Offline

#18 2016-12-02 09:42:28

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

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

Bit late to this thread.

I’m still not keen on the list view, sorry. The grid (with additional improvements as suggested by Philippe) makes much better use of space, and to my eyes is easier to scan.

Regarding the language translations page, a rough mockup is here although it needs work and some extra functionality. The update button on languages in admin panel would only be available if you’ve downloaded an updated Textpack and put it into the `lang` directory (or wherever we put language packs in 4.7).

Offline

#19 2016-12-02 09:56:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,485
Website GitHub

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

I’m down with the grid view if it’s presented in a Philippe-style manner and is easy to visually scan :-)

I can look into pulling installed languages to the head of the grid if that’s of more use to people, or we could hide uninstalled languages unless some ‘show all’ is checked (or something).

I’m easy either way.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#20 2016-12-02 09:59:53

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

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

Bloke wrote #303119:

I can look into pulling installed languages to the head of the grid if that’s of more use to people, or we could hide uninstalled languages unless some ‘show all’ is checked (or something).

My vote: Installed languages at top, always show everything.

Offline

#21 2016-12-02 10:24:31

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,485
Website GitHub

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

philwareham wrote #303120:

My vote: Installed languages at top, always show everything.

Cool. I’ll see what I can do. Can you rejig your mockup to take Philippe’s ideas into consideration please, then I’ll get it done.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#22 2016-12-02 10:38:51

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

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

Bloke wrote #303121:

Cool. I’ll see what I can do. Can you rejig your mockup to take Philippe’s ideas into consideration please, then I’ll get it done.

Done – you might need to refresh cache to see changes.

Offline

#23 2016-12-14 13:58:50

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,677
GitHub Twitter

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

“Dashboard in your language”

Following the excellent and efficient work by Stef, WordPress latest version use now a per-user language for its admin interface :D

Read more…


Patrick.

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

Offline

#24 2016-12-14 15:13:58

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,485
Website GitHub

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

Pat64 wrote #303257:

Following the excellent and efficient work by Stef, WordPress latest version use now a per-user language for its admin interface

Hehehe, I’m such a trendsetter! :-)

In reality, it makes a change to be ahead of the big boys with something. Normally we’re ten years behind…


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#25 2016-12-15 18:15:58

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

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

Pat64 wrote #303257:

“Dashboard in your language”

Following the excellent and efficient work by Stef

Great job Stef! Nice to see Textpattern setting the pace!

Offline

Board footer

Powered by FluxBB