Blog

Read the latest blog on our projects and new developments in areas like security, WordPress and Typo3. The team at Prater Raines write how projects have progressed with challenges that have been faced. We like to keep you informed in technology and security updates.

Welsh Liberal Democrats website: home page in Welsh

When the Liberal Democrats initially came up with the specification for what would turn out to be their Fleet website system, simple bilinguality for the Welsh State and Welsh Local Party sites was a key requirement.

The need helped guide us towards Typo3 as a platform. It was designed for the job, which in this case was to make it simple to build in both English and Welsh languages and switch between them.

We’ve built Fleet for our Welsh sites to offer that option. We’ve worked with a translator and the Welsh Party so that the “scaffolding” of sites automatically translates between pages. However, we’ve also made it easy for site editors to create the rest in both languages – from menu items to full pages and news articles.

Context is also key, and its not just the text that can vary between versions. It maybe that there is a better picture to illustrate the Welsh language version of an article than the one used on the English version. You can change that too. And the descriptive text like alt tags, descriptions and even url click-throughs can also be set by language: brilliant!

We’re regularly asked why we don’t use automatic translation of content blocks from English to Welsh. Answer: it still sounds terrible. An automatic translation will generally give the “flavour” but also be absolutely obvious to a native Welsh speaker. Want a Welsh translation? You need a Welsh speaker!

August 8, 2024
by Matt Raines

TYPO3 Developer Days 2024

Matt, Dalton and Gary at the TYPO3 Developer Days conference in Karlsruhe in August 2024

Three members of the Prater Raines developer team took an epic journey (OK, maybe not epic, but we did have to catch 7 different trains) to Karlsruhe in the Black Forest to bask in the glorious sunshine* at the annual TYPO3 Developer Days conference.

* And a teeny bit of rain, thunder and lightning to keep us on our toes.

We learned about CSS, deployment, testing, time management and upcoming improvements to the platform and we met other TYPO3 developers from around the world.

Continue reading…

August 7, 2024
by Matt Raines

When a bug slips through the net

A graph of web server error log entries on various servers. One line follows a regular pattern of increasing gradually throughout the day and resetting overnight, but on two days the peak is much larger than usual.

Automated testing is a great thing and something we’re always looking at doing much, much more of. But sometimes it’s just unavoidable that errors in third party systems slip through and make it onto the production website. That’s especially the case for minor bugs that generate warning notices but have no noticeable impact on the site functionality. We can pick up on and deal with these snags before they become bigger problems thanks to our world class server monitoring, and open source means we can fix the problem upstream much more quickly.

Continue reading…

July 16, 2024
by Tim Prater

Website hosting: Know your customer

Visitor numbers over time

We’re delighted the Liberal Democrats chose Prater Raines to develop and host their websites for their national, regional and local parties. We’re really proud of the Fleet platform we’ve built alongside them, and now supports over 300 Liberal Democrat websites.

As we’ve been working with the Party for 21+ years, we knew the challenges, especially around election times. Visitor numbers increase, by a factor, fast, and then do it again through to polling day.

So in May, when a snap General Election was called, we knew we had to be ready. And so did our website hosting.

Continue reading…

Sunflower House logo

A Folkestone charity has £10,000 backing for a new digital support project in the town following a grant from the Nominet GiveHub scheme.

Nominet GiveHub is an opportunity for Nominet members to support an organisation of their choice. A fund of £50k each month is available. Applications are reviewed monthly by the GiveHub panel.

The grant application must link to at least one of Nominet’s Public Benefit pillars: Connected, Inclusive and Secure.

Continue reading…

February 21, 2024
by Matt Raines

Pretty prompts in Fish and Vim

Example Vim editor status line and shell prompt, including pretty colours and icons for version control status.

Every time I’ve gone away to a conference recently, and PHP UK 2024 was no exception to the rule, I’ve come home jealous of all the pretty Powerline-style prompts the presenters seem to have on their Macs. It’s always on their Macs.

So I decided this was the time to do something about it and bring the development team the joy of version control integration and pretty status icons in their shell prompts and text editor statuslines.

We use the Fish shell not the more usual Bash so I installed and configured Oh My Fish with the bobthefish theme, and Powerline for the Vim integration. Although after a brief “holy war” discussion on text editors it appears I might be the only one who uses Vim. Here’s how I did it:

Continue reading…

February 19, 2024
by Matt Raines

Address data wants to be free

Graphs of age and ethnicity distribution around the country from census data

I’m delighted that there’s been a twenty year trend in the United Kingdom for free and open access to more and more government data. Information about the public that has been largely collected at taxpayer expense should be made as widely available as possible, in open, machine- and human-readable formats.

So I’m especially proud that it’s a Liberal Democrat peer who is making the latest push for regular publishing of the Postcode Address File, the Royal Mail dataset of every address in the country.

Continue reading…

December 5, 2023
by Gary Fuller

Expanding our Email Your MP API

Postgre Query - Chiffre01, CC BY-SA 4.0 , via Wikimedia Commons

Since we created our first “Email Your MP” website in 2018, the service has expanded to support multiple organisations but has remained relatively focused on national campaigns. The API behind it has expanded somewhat to include additional MPs, such as those Northern Ireland, but has remained relatively static in terms of scope.

That changed recently thanks to various development requests. Firstly, the Liberal Democrats needed a new version of their postal voting page. Secondly, a new client wished to use additional data, alongside MP contact details, as part of their campaign. The result? Two new API endpoints and changes to our Fleet and WordPress platforms to make use of them.

Continue reading…

Supported versions of Dataloader with "NOT THE WHOLE TRUTH" imposed

Salesforce has a handy tool to insert, update, and delete bulk data from CSV, XML, or JSON files. Salesforce says the tool only works on Windows and MacOS.

This can only be for lack of a QA team because not only is the tool written in platform-independent Java, but the download includes all the code you need to run it on Linux including a secret install script.

Here’s how to get it working in a few easy steps.

Continue reading…

October 17, 2023
by Matt Raines

Government duty to promote Open Source

Podium discussion at T3CON23

As Germany moves away from closed source software to a strategy using TYPO3 for all government websites, I joined Jana Höffner and Nikolai Jaklitsch at this year’s T3CON in Düsseldorf to discuss software in government and how Open Source is the only way to guarantee digital sovereignity, foster local talent and create a digital economy.

Continue reading…